Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
QtGP 1.1
-
None
Description
Env:
OS 15.2 Qt 6.9.0b2
Qt GP 1.1 (Qt Maven)
QtTAS Plugin 4.0 (dev - f79fb9575f3f083a35dabe805eba03802dc23380)
AS Ladybug 2024.2.2
Steps:
- Open example qtquickview_java and make sure the qt project is also there.
- Update the build.gradle and run the app on supported device/emulator:
QtBuild { qtPath file("/Users/lukaszkosiorowski/Qt/6.9.0") projectPath file("/Users/lukaszkosiorowski/workspace/qt/android_examples/qtquickview") setExtraCMakeArguments('-DQT_ANDROID_BUILD_ALL_ABIS=FALSE', '-DQT_ANDROID_ABIS="arm64-v8a;x86_64"') }
Expected: Like on Windows the app is built for two ABIs only.
Actual:
I was trying to limit number of ABIs build, so that I can run the app on device connected (arm64-v8a) and on emulator (x86_64). Since, all the ABIs are built automatically (-DQT_ANDROID_BUILD_ALL_ABIS=ON) I tried to switch the flag (set to FALSE). It works well on Windows, but on macOS it throws the error:
Cannot find toolchain files for the manually specified Android ABIs: "arm64-v8a, x86_64"
CMake arguments:
Command arguments: [-S, /Users/lukaszkosiorowski/workspace/qt/android_examples/qtquickview, -B, /Users/lukaszkosiorowski/workspace/qt/android_examples/qtquickview_java/app/build/qt_generated/qtquickview, -G, Ninja, -DQT_ANDROID_GENERATE_JAVA_QTQUICKVIEW_CONTENTS=ON, -DQT_USE_TARGET_ANDROID_BUILD_DIR=ON, -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja, -DANDROID_SDK_ROOT=/Users/lukaszkosiorowski/Library/Android/sdk, -DANDROID_NDK_ROOT=/Users/lukaszkosiorowski/Library/Android/sdk/ndk/26.1.10909125, -DQT_ANDROID_BUILD_ALL_ABIS=ON, -DQT_ANDROID_BUILD_ALL_ABIS=FALSE, -DQT_ANDROID_ABIS="arm64-v8a;armeabi-v7a"]
Attachments
Issue Links
- relates to
-
QTQAINFRA-6882 Qt Test Attack - 01, 2025
- Open