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 support older Android Version with Qt 6.10!

How to support older Android Version with Qt 6.10!

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 172 Views 1 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.
  • J Offline
    J Offline
    jackmack
    wrote last edited by
    #1

    Hi Guys,

    i have installed latest Qt 6.10, on Windows 11, want to develop an Android app.
    Everthings works (Voodoo!), I can run a Hello World App on an emulator, an mobile phone and tablet - mobile and tablet are running with Android 13.

    But how I can run the Android App under older mobiles, e.g. with Android 8?

    Support for mobile platform https://doc.qt.io/qt-6/supported-platforms.html#mobile-platforms
    says Android 9 - 16 is supported with Qt 6.10 release.

    Watching here https://doc.qt.io/qt-6.5/supported-platforms.html#mobile-platforms
    says Android 8 - 15 is supported with Qt 6.5 LTS release.

    Sure I can install Qt 6.5 LTS, but support ends April 2026. No good idea to use 6.5 :-(

    When I check Creator's "Settings / SDKs / Android / SDK Manager" i can add missing packages for Android 8 (done):

    a9d6f915-7401-47f9-8001-bf73529fc4bc-image.png

    The top, "Android SDK Platform 36" was already installed and, I think, is used for my running HelloWorld App (Voodoo!).

    In the build settings I see following, API 28 means Android 9 (the minimum supported Android of Qt 6.10).

    4deec0a7-3668-41a6-8ee9-7c14ca6656ce-image.png

    Later in the build setting I found:

    5b171b50-6147-4c5e-907b-6bc2998b8d24-image.png

    but cannot change (right place?) !

    Is it even possible to create an app with Qt 6.10 for Android 8?
    What steps I have to do?

    And I am also confused about the SDK versions, API and so on.
    App is build with Android 16 (API 36) but runs on Android 13 (API 33) device. Maybe higher APIs include lower APIs.
    But when using a function/interface whatever from API 36 and run it on lower API 33 device, what happens?
    It's little confusing what Qt is doing there without any exactly documentation.

    I already gained experience with the first Qt to Android port years ago. But the description hasn't really improved.

    Thx for any answer!

    sierdzioS 1 Reply Last reply
    0
    • J jackmack

      Hi Guys,

      i have installed latest Qt 6.10, on Windows 11, want to develop an Android app.
      Everthings works (Voodoo!), I can run a Hello World App on an emulator, an mobile phone and tablet - mobile and tablet are running with Android 13.

      But how I can run the Android App under older mobiles, e.g. with Android 8?

      Support for mobile platform https://doc.qt.io/qt-6/supported-platforms.html#mobile-platforms
      says Android 9 - 16 is supported with Qt 6.10 release.

      Watching here https://doc.qt.io/qt-6.5/supported-platforms.html#mobile-platforms
      says Android 8 - 15 is supported with Qt 6.5 LTS release.

      Sure I can install Qt 6.5 LTS, but support ends April 2026. No good idea to use 6.5 :-(

      When I check Creator's "Settings / SDKs / Android / SDK Manager" i can add missing packages for Android 8 (done):

      a9d6f915-7401-47f9-8001-bf73529fc4bc-image.png

      The top, "Android SDK Platform 36" was already installed and, I think, is used for my running HelloWorld App (Voodoo!).

      In the build settings I see following, API 28 means Android 9 (the minimum supported Android of Qt 6.10).

      4deec0a7-3668-41a6-8ee9-7c14ca6656ce-image.png

      Later in the build setting I found:

      5b171b50-6147-4c5e-907b-6bc2998b8d24-image.png

      but cannot change (right place?) !

      Is it even possible to create an app with Qt 6.10 for Android 8?
      What steps I have to do?

      And I am also confused about the SDK versions, API and so on.
      App is build with Android 16 (API 36) but runs on Android 13 (API 33) device. Maybe higher APIs include lower APIs.
      But when using a function/interface whatever from API 36 and run it on lower API 33 device, what happens?
      It's little confusing what Qt is doing there without any exactly documentation.

      I already gained experience with the first Qt to Android port years ago. But the description hasn't really improved.

      Thx for any answer!

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote last edited by
      #2

      @jackmack said in How to support older Android Version with Qt 6.10!:

      But how I can run the Android App under older mobiles, e.g. with Android 8?

      Provide a different APK file for older versions, which will be built using Qt 6.5. For all higher versions, use Qt 6.10.

      But please think if you really need this - Android 8 only accounts for about 1,2 % of Android market at the moment. Perhaps trying to support it is not worth the hassle?

      Is it even possible to create an app with Qt 6.10 for Android 8?
      What steps I have to do?

      I don't think so, very likely not without some serious tweaking of Qt source code.

      And I am also confused about the SDK versions, API and so on.
      App is build with Android 16 (API 36) but runs on Android 13 (API 33) device. Maybe higher APIs include lower APIs.
      But when using a function/interface whatever from API 36 and run it on lower API 33 device, what happens?
      It's little confusing what Qt is doing there without any exactly documentation.

      This is not a Qt issue, this comes from Android itself and is well documented by Google, see for example: https://developer.android.com/studio/publish/versioning#minsdk and https://developer.android.com/guide/topics/manifest/uses-sdk-element

      (Z(:^

      1 Reply Last reply
      3
      • J Offline
        J Offline
        jackmack
        wrote last edited by
        #3

        thx sierdzio,
        you are right... itÄs not worth to support Android 8.
        I will use Qt 6.10... and unfortunately I cannot use my dusty old Android devices for development purposes.

        1 Reply Last reply
        0
        • J jackmack has marked this topic as solved

        • Login

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