Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.3.1
-
None
Description
create an android-build with -DINSTALL_ARCHDATADIR=myarchdatadir
Then try to build with cmake the sample androidnotifer project that is in qtbase.
It will fail with "No such file or directory"
Reading Android dependencies for Qt6Core_armeabi-v7a Reading Android dependencies for Qt6Gui_armeabi-v7a Reading Android dependencies for Qt6Widgets_armeabi-v7a /opt/android-sdk/ndk/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readobj: error: '/usr/lib/x86_64-linux-gnu/qt6-base-android-armeabi-v7a/plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so': No such file or directory /opt/android-sdk/ndk/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readobj: error: '/usr/lib/x86_64-linux-gnu/qt6-base-android-armeabi-v7a/plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so': No such file or directory Reading dependencies from /usr/lib/x86_64-linux-gnu/qt6-base-android-armeabi-v7a/plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so /opt/android-sdk/ndk/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readobj: error: '/usr/lib/x86_64-linux-gnu/qt6-base-android-armeabi-v7a/plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so': No such file or directory Scanning for QML imports.
Since we used -DINSTALL_ARCHDATADIR=myarchdatadir
the files are actually in
/usr/lib/x86_64-linux-gnu/qt6-base-android-armeabi-v7a/myarchdatadir/plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so
Attachments
Issue Links
- duplicates
-
QTBUG-113819 Error in androiddeployqt with custom install dirs
- Reported
- relates to
-
QTBUG-94232 androiddeployqt is broken when manually defining dependencies
- Closed
- mentioned in
-
Page Loading...