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. Qt6 min android sdk version is API Level 26
Forum Updated to NodeBB v4.3 + New Features

Qt6 min android sdk version is API Level 26

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 1.4k Views 2 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.
  • D Offline
    D Offline
    DonLakeFlyer
    wrote on 14 Jan 2024, 16:59 last edited by
    #1

    Previously Qt5 min sdk version was Android 5.0 (API Level 21). I'm moving my app to Qt6 and I have an older device it runs on which is Android 7.1 (API Level 25). Qt6 now says it supports Android 8 (API Level 26) and above. I'm wondering if this Android 8 requirement on Qt6 is a hard stop in that Qt now uses apis which will fail on Android 7. Or if Qt6 was marked as Android 8 simply to remove testing burden of older android OS.

    If I build my app with min sdk to Android 7 (level 25) and run it it "seems' to work fine.

    E 1 Reply Last reply 16 Jan 2024, 12:22
    1
    • D DonLakeFlyer
      14 Jan 2024, 16:59

      Previously Qt5 min sdk version was Android 5.0 (API Level 21). I'm moving my app to Qt6 and I have an older device it runs on which is Android 7.1 (API Level 25). Qt6 now says it supports Android 8 (API Level 26) and above. I'm wondering if this Android 8 requirement on Qt6 is a hard stop in that Qt now uses apis which will fail on Android 7. Or if Qt6 was marked as Android 8 simply to remove testing burden of older android OS.

      If I build my app with min sdk to Android 7 (level 25) and run it it "seems' to work fine.

      E Offline
      E Offline
      ekkescorner
      Qt Champions 2016
      wrote on 16 Jan 2024, 12:22 last edited by
      #2

      @DonLakeFlyer I'm using minSDK 23 together with Qt 6.6 with no problems.

      Qt 6.5 supports API26, which means Qt only guarantees API26.
      It is always much work to test on different APIs so I understand the decision.
      Have in mind: API 26 is 7 years old.

      I'm doing the same with my customers telling them that API26+ is supported, but I'm building the Apps with minSDK API23 to enable older devcices at own risk.

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

      1 Reply Last reply
      1
      • 8 Offline
        8 Offline
        8Observer8
        wrote on 12 May 2024, 18:01 last edited by 8Observer8 5 Dec 2024, 18:03
        #3

        I can confirm that Android 7.1.1 (API 25) works with Qt 6.6.3. I tried to run an app on Redmi 4X.

        Some information about an older device. I tried to run an application on a phone with Android 4.4.1 (API 19) from Qt 6.6.3, but it did not launch. Error during deployment:

        :-1: error: The command "E:\AppData\Android\SDK\platform-tools\adb.exe -s 0123456789ABCDEF pull /system/bin/app_process32 E:...\build\Android_Qt_6_6_3_Clang_armeabi_v7a-Debug\android-app-process\app_process" terminated with exit code 1.

        I installed SDK 19:

        image.png

        The phone was detected:

        8443360e-1559-423c-b0e0-df2ed6afd603-image.png

        1 Reply Last reply
        1

        • Login

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