Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2, 6.8.0 Beta1, 6.8.1
-
-
9c9dda544bdd917695e3ae981989a1e647f7b034, 65f08c097 (dev), 9ffc3b070 (6.9), 31ccf87fd (6.8)
Description
Configuration of a Cmake-based Qt Quick project fails if the path contains spaces (e.g. C:\Work Space\TestProject).
- Success: Qt 6.6.3
- msvc, mingw not relevant
- Widget-based project succeeds
Steps to reproduce.
1. create a folder containing a space (e.g. C:\Work Space)
2. create a Qt Quick project in that folder and select Qt 6.7 (C:\Work Space\TestProject
– error log –
[cmake] Call Stack (most recent call first):
[cmake] C:/Qt/6.7.2/msvc2019_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:468 (__qt_internal_setup_policy)
[cmake] C:/Qt/6.7.2/msvc2019_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:780 (qt6_add_qml_module)
[cmake] CMakeLists.txt:14 (qt_add_qml_module)
[cmake] This warning is for project developers. Use -Wno-dev to suppress it.
[cmake]
[cmake] 'C:/Work' is not recognized as an internal or external command,
[cmake] operable program or batch file.
[cmake] CMake Error at C:/Qt/6.7.2/msvc2019_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3361 (message):
[cmake] Failed to scan target appTest for QML imports: 1
[cmake] Call Stack (most recent call first):
[cmake] C:/Qt/6.7.2/msvc2019_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3403 (_qt_internal_scan_qml_imports)
[cmake] C:/Qt/6.7.2/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (qt6_import_qml_plugins)
[cmake] C:/Qt/6.7.2/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (cmake_language)
[cmake] C:/Qt/6.7.2/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_executable)
[cmake] C:/Qt/6.7.2/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:743:EVAL:1 (qt6_finalize_target)
[cmake] CMakeLists.txt:DEFERRED
Attachments
Issue Links
- relates to
-
QTBUG-132258 _qt_internal_create_command_script fails on windows if spaces present
-
- Closed
-
-
QTBUG-132258 _qt_internal_create_command_script fails on windows if spaces present
-
- Closed
-