Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3.0 RC
-
None
-
d6919b073a (qt/qtbase/dev) d6919b073a (qt/tqtc-qtbase/dev) ac977434c6 (qt/qtbase/6.3) ac977434c6 (qt/tqtc-qtbase/6.3) 0e62c9bd0f (qt/qtbase/6.3.0) 0e62c9bd0f (qt/tqtc-qtbase/6.3.0)
Description
When configuring the user multi-abi project using the Qt for Android from online installer the warning like bellow occurs repeatedly:
CMake Warning at /home/user/Projects/Qt/install/6.3_android/6.3.0/android_x86/lib/cmake/Qt6/qt.toolchain.cmake:68 (message):
The toolchain file to be chainloaded
'/opt/android/android-ndk-r22b/build/cmake/android.toolchain.cmake' does
not exist.
Call Stack (most recent call first):
/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:3 (project)
This also causes the per-ABI projects to not configured successfully.
The root cause is in ANDROID_SDK_ROOT and ANDROID_NDK_ROOT variables that are not propagated to the per-ABI external projects and related toolchain files cannot be found.
Attachments
Issue Links
- resulted in
-
QTBUG-104013 Android multi-abi builds don't work under MacOS and Windows
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-102041 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
402630,2 | Pass ANDROID_SDK_ROOT and ANDROID_NDK_ROOT variables to external projects | dev | qt/qtbase | Status: MERGED | +2 | 0 |
402704,2 | Pass ANDROID_SDK_ROOT and ANDROID_NDK_ROOT variables to external projects | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
402705,2 | Pass ANDROID_SDK_ROOT and ANDROID_NDK_ROOT variables to external projects | 6.3.0 | qt/qtbase | Status: MERGED | +2 | 0 |
414430,5 | CMake: Fix Android multi-abi builds in Qt Creator | dev | qt/qtbase | Status: MERGED | +2 | 0 |
414791,2 | CMake: Fix Android multi-abi builds in Qt Creator | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
414792,2 | CMake: Fix Android multi-abi builds in Qt Creator | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |