Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P1: Critical
-
Resolution: Unresolved
-
Affects Version/s: 5.14.0, 5.14.1, 5.15.0 Alpha
-
Fix Version/s: 5.15
-
Component/s: Extras: Android
-
Platform/s:
Description
Qt 5.14.0 uses ANDROID_ABI [1] in generated cmake files. This requires android toolchain file of NDK.
Also it should be possible to use builtin support in CMake [2] instead of NDK toolchain file. CMake uses CMAKE_ANDROID_ARCH_ABI for the same usage.
Our work around in our cmake script:
SET(ANDROID_ABI ${CMAKE_ANDROID_ARCH_ABI})
It would be nice if the create_make.prf could check for CMAKE_ANDROID_ARCH_ABI variable, too.
[1] https://code.qt.io/cgit/qt/qtbase.git/tree/mkspecs/features/create_cmake.prf?h=5.14#n46
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-82303 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
343710,4 | CMake: replace ANDROID_ABI by cmake's CMAKE_ANDROID_ARCH_ABI | dev | qt/qtbase | Status: NEW | 0 | 0 |