Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
6.5.0
-
None
-
M1 MacBook Pro
macOS Ventura 13.2
Qt 6.5.0
Description
When building for Android with CMake, the compile SDK version canĀ only be set when building with Qt Creator by modifying the "Build Android APK" build step.
When building from the command line, however, there is no CMake option / target property that allows to specify this SDK version. Instead, androiddeployqt always chooses the latest available SDK, which might not always be the desired one.
Possible fix: Add a CMake target property alongside QT_ANDROID_MIN_SDK_VERSION and QT_ANDROID_TARGET_SDK_VERSION, for example QT_ANDROID_COMPILE_SDK_VERSION.
Attachments
Issue Links
- relates to
-
QTBUG-128364 Add CMake property to set androidCompileSdkVersion or --android-platform used by androiddeployqt
-
- Closed
-