Details
-
Task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 11.0.3
-
Windows 11 Enterprise
CMake 3.27.6
Qt Creator 11.0.3
Based on Qt 6.4.3 (MSVC 2019, x86_64)From revision: 68359f96a9
Description
Steps to reproduce:
Click New project -> Application (Qt) -> Qt Quick Application -> when it asks you to "Define Project Details" check the "Creates a project that you can open in Qt Design Studio" and change it to use Qt 6.5 or Qt 6.4 and create
EXPECTED: The project opens and works
ACTUAL: You get this error:
- C:\Qt\6.5.2\android_arm64_v8a\lib\cmake\Qt6BuildInternals\QtBuildInternalsExtra.cmake:45: error: Syntax error in cmake code at C:/Qt/6.5.2/android_arm64_v8a/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake:45 when parsing string C:\Qt Invalid character escape '\Q'. C:/Qt/6.5.2/android_arm64_v8a/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake:54 (include) C:/Qt/6.5.2/android_arm64_v8a/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package) C:/Users/tekopone/Repos/Thesis/motiq_app/Build/build-untitled-Android_Qt_6_5_2_Clang_arm64_v8a-Debug/_deps/ds-src/CMakeLists.txt:25 (find_package)
Works after you change the CMakeLists.txt find_package version line:
from: find_package(Qt6 6.2 REQUIRED COMPONENTS Core Gui Qml Quick)
to: find_package(Qt6 6.5 REQUIRED COMPONENTS Core Gui Qml Quick)