Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
6.3.0, 6.3.1
-
None
Description
This happens for every project I build. Can be reproduced with template of QtQuick application generated by Qt Creator.
Host machine: Linux x86_64
Target: arm64-v8a - builds correctly
Target: armeabi-v7a - builds correctly
Multi-abi settings:
using arm64-v8a as main abi
setting CMake var QT_ANDROID_ABIS = arm64-v8a;arm-v7a
There is small issue with NDK location reported in QTCREATORBUG-27761 but its easy to overcome.
Build stops on CMake error from CMakeList.txt file, when it should find Qt libs:
find_package(Qt6 COMPONENTS Quick REQUIRED):
And the error message is:
Could not find a configuration file for package "Qt6" that is compatible with requested version "". The following configuration files were considered but not accepted: /my-path-to-qt/6.3.1/android_armv7/lib/cmake/Qt6/Qt6Config.cmake, version: 6.3.1 (32bit)
This file is exactly the version that should be used for armeabi-v7a build but for some reason CMake rejects it.
I tested the same scenario with Qt 6.3.0 with the same result.
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-27761 CMake: ANDROID_NDK_ROOT is not set
- Closed