-
Bug
-
Resolution: Unresolved
-
P2: Important
-
QtGP 1.1, QtGP 1.3
Env:
macOS 15.6 Qt GP 1.3 Gradle 8.10
Steps to reproduce:
- Open example from /Users/apple/Qt/Examples/Qt-6.8.4/platforms/android/qtquickview_java in Android Studio
- Go to app/build.gradle and set the following as per your settings
QtBuild { // Relative for Qt (Installer or MaintenanceTool) installations. qtPath = file('../../../../../../6.8.4') projectPath = file('../../qtquickview') }
- Sync and build it
- Now add qtKitDir and specify the kit that is not the default one, e.g. android_arm64_v8a
QtBuild { // Relative for Qt (Installer or MaintenanceTool) installations. qtPath = file('../../../../../../6.8.4') projectPath = file('../../qtquickview') qtKitDir = file('../../../../../../6.8.4/android_arm64_v8a') }
- Sync and build it
Error:
CMake Error at /Users/apple/Qt/6.8.4/android_x86/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake:158 (message): Detected Qt installation does not contain qtforandroid_arm64-v8a.so in the following dir:/Users/apple/Qt/6.8.4/android_x86/plugins/platforms
Workaround:
Once you add the qtKitDir, clean the build and rebuild it again.
Note:
This was reported before as well with qtGP 1.1 QTTA-252
- is required for
-
QTTA-314 Qt Gradle Plugin 1.4
-
- Open
-
- relates to
-
QTQAINFRA-7261 Qt LTS release testing
-
- Open
-