Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
6.4.3
-
None
Description
I am trying to build a custom module for the platform android_armv7, on a Linux build host. I am using Qt 6.4.3, downloaded with the Qt Maintenance tool. The script qt-configure-module returns the errors mentioned below. A quick investigation shows that the script "android_armv7/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake" (and possibly also others) contain windows-style paths such as "C:/Qt/Qt-6.4.3/lib/cmake/Qt6Location". This problem does not occur in the directory android_arm64_v8a. I attach a screenshot of the diff program showing the relevant section.
```
CMake Error at /usr/share/cmake/Modules/CMakePackageConfigHelpers.cmake:275 (file):
file RELATIVE_PATH must be passed a full path to the directory:
C:/Qt/Qt-6.4.3/lib/cmake/Qt6Location
Call Stack (most recent call first):
/home/kebekus/Software/buildsystems/Qt/6.4.3/android_armv7/lib/cmake/Qt6/QtModuleHelpers.cmake:715 (configure_package_config_file)
src/location/CMakeLists.txt:1 (qt_internal_add_module)
```