Qt6 min android sdk version is API Level 26
-
wrote on 14 Jan 2024, 16:59 last edited by
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.
-
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.
@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.
-
wrote on 12 May 2024, 18:01 last edited by 8Observer8 5 Dec 2024, 18:03
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:
The phone was detected: