Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.14.0 Alpha
-
None
Description
As the note on this page (https://wiki.qt.io/New_Features_in_Qt_5.14) I tried to built a project in multi abi mode.
The first error is that by default multi abi not working. After adding below line to pro file Qt tried to build by these abis, and did it. The source compiled into seprated folders of these abis.
ANDROID_ABIS += arm64-v8a armeabi-v7a x86_64 x86
But in the last step of APK creating these errors occurred:
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5QuickControls2_x86_64.so'
make[1]: Leaving directory `/doc/Dev/Qt/build/transport/Android_for_Clang_Qt_5_14_0_for_Android_ARMv7/Debug'
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5Quick_x86_64.so'
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5Widgets_x86_64.so'
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5Gui_x86_64.so'
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5QmlModels_x86_64.so'
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5Qml_x86_64.so'
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5Network_x86_64.so'
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5AndroidExtras_x86_64.so'
clang++: error: no such file or directory: '/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5Core_x86_64.so'
make[1]: *** [libtransport_x86_64.so] Error 1
make: *** [x86_64-all] Error 2
18:16:38: The process "/opt/apps/android-ndk-r20/prebuilt/linux-x86_64/bin/make" exited with code 2.
Error while building/deploying project transport (kit: Android for (Clang Qt 5.14.0 for Android ARMv7))
When executing step "Make"
18:16:38: Elapsed time: 02:41.
As you can see clang try to find a file in invalid path. For example the below path is incorrect
/home/hamed/Qt/5.14.0/android_armv7/lib/libQt5QuickControls2_x86_64.so
And the correct path for this file is:
/home/hamed/Qt/5.14.0/android_x86_64/lib/libQt5QuickControls2_x86_64.so
Note 1: I've selected kit android_armv7 for this project
Note 2: All settings is OK and in single abi mode (the default settings) project compiles and apk created.
Note 3: I've openned these files:
Makefile.Armeabi-v7a, Makefile.Arm64-v8a, Makefile.X86_64, Makefile.X86
All of them contains invalid path in LIBS variable
Attachments
Issue Links
- duplicates
-
QTBUG-79069 Make sure we have a single Qt SDK for Android starting with Qt 5.14
- Closed