Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5
-
None
Description
In the line 45 of Qt6BuildInternalsExtra.cmake, there's a line like so:
set(qtbi_orig_prefix "C:\Qt")
This causes an error when the configuration is ran with cmake:
CMake Error at C:/Qt/6.5.0/android_x86_64/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake:45 (set):
Syntax error in cmake code at C:/Qt/6.5.0/android_x86_64/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake:45 when parsing string C:\Qt Invalid character escape '\Q'.
Call Stack (most recent call first):
C:/Qt/6.5.0/android_x86_64/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake:54 (include)
C:/Qt/6.5.0/android_x86_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package)
CMakeLists.txt:18 (find_package)
Changing it to this solved the issue.
set(qtbi_orig_prefix "C:\\Qt")