Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0 RC
-
None
-
11843cc12 (dev), 139b13f15 (6.7), a4522a173 (6.7.0)
-
2024wk10FOQtforAndroid, 2024wk12FOQtforAndroid
Description
When configuring as below (ie. with custom install dirs), the Qt6AndroidQuick.jar file is installed in usr/jar/Qt6AndroidQuick.jar.
This is not correct. All other jar have a correct install path and honor the QT_INSTALL_DATADIR variable. This was set in
https://bugreports.qt.io/browse/QTBUG-106533
Was this added/changed in 6.7.0RC? I didn't see that in 6.7.0Beta3
Configuration
cd debian/build-x86 && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu --log-level=STATUS -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_BINDIR=lib/i386-linux-gnu/qt-android-6.7-x86/bin -DINSTALL_LIBDIR=lib/i386-linux-gnu/qt-android-6.7-x86 -DINSTALL_LIBEXECDIR=lib/i386-linux-gnu/qt-android-6.7-x86/libexec -DINSTALL_ARCHDATADIR=lib/i386-linux-gnu/qt-android-6.7-x86 -DINSTALL_EXAMPLESDIR=lib/i386-linux-gnu/qt-android-6.7-x86/examples -DINSTALL_DATADIR=share/qt-android-6.7-x86 -DINSTALL_DESCRIPTIONSDIR=share/qt-android-6.7-x86/modules -DINSTALL_DOCDIR=share/qt-android-6.7-x86/doc -DINSTALL_SYSCONFDIR=lib/qt-android-6.7-x86/etc/xdg -DINSTALL_INCLUDEDIR=include/i386-linux-gnu/qt-android-6.7-x86 -DINSTALL_PLUGINSDIR=lib/i386-linux-gnu/qt-android-6.7-x86/plugins -DINSTALL_TESTSDIR=lib/i386-linux-gnu/qt-android-6.7-x86/tests -DINSTALL_TRANSLATIONSDIR=share/qt-android-6.7-x86/translations -DINSTALL_MKSPECSDIR=lib/i386-linux-gnu/qt-android-6.7-x86/mkspecs -DINSTALL_PUBLICBINDIR=lib/i386-linux-gnu/qt-android-6.7-x86/bin -DBUILD_WITH_PCH=OFF -DANDROID_SDK_ROOT=/builds/bastif/qt-android/android-sdk -DCMAKE_TOOLCHAIN_FILE=/builds/bastif/qt-android/r26b/android-ndk-r26b/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86 -DQT_USE_CCACHE=ON -DQT_HOST_PATH=/usr -DQT_HOST_PATH_CMAKE_DIR=/usr/lib/x86_64-linux-gnu/qt-android-6.7-host/cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_qtwayland=OFF -DFEATURE_qtwebengine_build=OFF -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON ../..
{{}}
Attachments
For Gerrit Dashboard: QTBUG-123332 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
547985,2 | Android: fix install path of Qt6AndroidQuick.jar | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
549465,2 | Android: fix install path of Qt6AndroidQuick.jar | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
549476,2 | Android: fix install path of Qt6AndroidQuick.jar | 6.7.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |