Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to setup Qt Creator for android 16kb pages ?
Forum Updated to NodeBB v4.3 + New Features

How to setup Qt Creator for android 16kb pages ?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 393 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    philmaubois
    wrote last edited by philmaubois
    #1

    Hello all,
    I am not able to find the right setup in Qt Creator to build a 16 kb pages app.
    I have tested several configurations: Qt version 6.8, 6.9, 6.9.2 and 6.10, gradle 8.6, 8.12, 8.13, sdk 35 and 36, ndk 27 to 29.
    All the tests I have run on 16kb Pages simulator gave the same results: "your app in not 16 kb pages aligned", what was confirm by zalign tool.
    I have tried also to include the max page size in checklists.txt, that gave the same result.
    I don't understand what's happen because android forums say that ndk 28+ should align by default the 16 kb pages!
    Some help would be very much appreciated,
    Have a nice day,
    Philippe.

    1 Reply Last reply
    1
    • A Offline
      A Offline
      Aldebaran
      wrote last edited by
      #2

      I am in the same situation, i don't have find any statement from Qt;
      My understanding is that we need a version of the qt libs for android compiled in 16KB (i don't know if they will still work on 4KB android system or if we will need to package the two format in the aab (in addition to the differents architectures).

      So two options i think :

      • Rebuild ourself Qt android with 16KB support (don't sound easy);
      • Wait for the 6.9.3 that should support that : https://forum.qt.io/topic/163238/qt-for-android-and-16-kb-page-size-official-roadmap-and-temporary-solutions/3

      I don't know where ekkescorner find this info; but the 6.9.3 should land between the 25 and the 30 of this month : https://wiki.qt.io/Qt_6.9_Release

      So... I will wait a little.

      Pl45m4P 1 Reply Last reply
      0
      • A Aldebaran

        I am in the same situation, i don't have find any statement from Qt;
        My understanding is that we need a version of the qt libs for android compiled in 16KB (i don't know if they will still work on 4KB android system or if we will need to package the two format in the aab (in addition to the differents architectures).

        So two options i think :

        • Rebuild ourself Qt android with 16KB support (don't sound easy);
        • Wait for the 6.9.3 that should support that : https://forum.qt.io/topic/163238/qt-for-android-and-16-kb-page-size-official-roadmap-and-temporary-solutions/3

        I don't know where ekkescorner find this info; but the 6.9.3 should land between the 25 and the 30 of this month : https://wiki.qt.io/Qt_6.9_Release

        So... I will wait a little.

        Pl45m4P Offline
        Pl45m4P Offline
        Pl45m4
        wrote last edited by
        #3

        @Aldebaran

        I don't know where it's stated officially but the user here indirectly confirmed that this solution apparently works:

        • https://forum.qt.io/topic/162567/solved-update-on-android-15-new-page-size-memory-16kb

        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

        ~E. W. Dijkstra

        1 Reply Last reply
        0
        • ekkescornerE Offline
          ekkescornerE Offline
          ekkescorner
          Qt Champions 2016
          wrote last edited by
          #4

          see https://bugreports.qt.io/browse/QTBUG-131514
          Fix Version/s: 6.5.10, 6.8.6, 6.9.3, 6.10.0, 6.11.0 FF

          ekke ... Qt Champion 2016 | 2024 ... mobile business apps
          5.15 --> 6.9 https://t1p.de/ekkeChecklist
          QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

          A 1 Reply Last reply
          1
          • ekkescornerE ekkescorner

            see https://bugreports.qt.io/browse/QTBUG-131514
            Fix Version/s: 6.5.10, 6.8.6, 6.9.3, 6.10.0, 6.11.0 FF

            A Offline
            A Offline
            Aldebaran
            wrote last edited by Aldebaran
            #5

            @ekkescorner Thank you :!
            @Pl45m4 It's not clear to me if the cmake flag is used on a qt android app, a shared native lib, or even on a qt build itself.
            I have tried it without success on my app, at launch android complains that the Qt libs are 4KB aligned.
            My understanding is that only my app has been affected by the flag, and not the qt lib (still in 4KB).

            1 Reply Last reply
            0
            • ekkescornerE Offline
              ekkescornerE Offline
              ekkescorner
              Qt Champions 2016
              wrote last edited by
              #6

              see also https://www.qt.io/blog/android-15-and-16-support

              ekke ... Qt Champion 2016 | 2024 ... mobile business apps
              5.15 --> 6.9 https://t1p.de/ekkeChecklist
              QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved