Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0 Beta4
-
-
c04a69fa7 (6.8.0), 3856e688c (dev), 757681a59 (6.8)
Description
Steps to reproduce:
- Build a Qt Quick project with a space in the build directory.
~/Qt/6.8.0/android_arm64_v8a/bin/qt-cmake -G Ninja -S . -B "build dir"
CMake Error at /Users/ollivuolteenaho/Qt/6.8.0/android_arm64_v8a/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1073:EVAL:1 (cmake_language): cmake_language DEFER DIRECTORY: /Users/ollivuolteenaho/Qt/Examples/Qt-6.8.0/quick/text/build is not known. It may not have been processed yet. Call Stack (most recent call first): /Users/ollivuolteenaho/Qt/6.8.0/android_arm64_v8a/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1073 (cmake_language) /Users/ollivuolteenaho/Qt/6.8.0/android_arm64_v8a/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1146 (qt6_add_qml_module) /Users/ollivuolteenaho/Qt/Examples/Qt-6.8.0/quick/shared/CMakeLists.txt:15 (qt_add_qml_module) -- Configuring incomplete, errors occurred!
The line in question is:
cmake_language(EVAL CODE "cmake_language(DEFER DIRECTORY ${PROJECT_BINARY_DIR} "
Adding \"\" around ${PROJECT_BINARY_DIR} would seem to fix it, but probably best for someone else to check.
Regression from 6.7.3. Haven't tried on Windows/Linux.
Attachments
For Gerrit Dashboard: QTBUG-128860 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
590501,14 | Add the wrapping quotes around various path variables | 6.8.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
591260,3 | Add the wrapping quotes around various path variables | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
592233,2 | Add the wrapping quotes around various path variables | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |