Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.4.3, 6.5.0 Beta3
-
None
-
-
f8c1fa1e1 (master)
Description
I'm using Qt 6.4.3 (via the online installer) on my Linux desktop computer, for applications with Android version available. (but Qt 6.5 beta 3 shows the same weakness)
Now I'm usually patching QtConnectivity, and building QtMqtt and QtLocation (dev) for my applications.
Unfortunately, the script to configure and build Qt modules is broken for Android armv7:
Qt/6.4.3/android_armv7/bin/qt-configure-module
I also found that many of the cmake-related scripts in 6.4.3/android_armv7/bin and lib/ contain Windows-style path descriptions, which renders them unusable for development on a Linux host.
None of these problems show in the directories for other Android platforms (that are working fine):
- android_arm64_v8a
- android_x86
- android_x86_64
To build my modules I need to edit android_armv7/bin/target_qt.conf* and change the prefix :
Prefix=C:/Qt/Qt-6.4.3
to
Prefix=/usr/local/Qt-6.4.3
And android_armv7/lib/qt.toolchaine.cmake (around line 30):
set(__qt_initially_configured_toolchain_file "C:/Utils/Android/android-ndk-r23b/build/cmake/android.toolchain.cmake")
to
set(__qt_initially_configured_toolchain_file "/opt/android/android-ndk-r23b/build/cmake/android.toolchain.cmake")
But there must be more that I can't find, so I also need to start building the modules, and edit the generated build/CMakeCache.txt, and change the CMAKE_INSTALL_PREFIX:PATH=/usr/local/Qt-6.4.3 (it is using the C:/Qt/Qt-6.4.3 even with the previous edits)
And that is not ideal.
Also, very very similar to QT-BUG109857...
Attachments
Issue Links
- relates to
-
QTBUG-111713 target_qt.conf installed with Carriage Return line ending on linux
- Closed
-
QTBUG-109857 qt-configure-module not executable for android_armv7 on linux host
- Closed
- resulted in
-
QTQAINFRA-5467 Add android configs to test that compiles Qt module
- Closed