Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.1, 5.6.2, 5.8.0, 5.9.0, 5.11
-
Windows 7
Description
— Tested on Windows 7 using Qt Quick Compiler and CMake 3.x —
Resource paths (QML, images...) containing spaces are simply quietly not processed by the cmake function "qtquick_compiler_add_resources".
My current fix consists of adding escaped double quotes \" \" around ${input_resource} line 53 of the cmake file "Qt5QuickCompilerConfig.cmake" :
exec_program($\{rcc_path} ARGS -list \"$\{input_resource}\" OUTPUT_VARIABLE rcc_contents)
All Qt Versions after 5.6 seems to have the problem.
Attachments
Issue Links
- relates to
-
QTBUG-48919 extra compiler depend_command processing doesn't grok file names with spaces
- Closed
For Gerrit Dashboard: QTBUG-57758 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
224504,2 | qtquick_compiler_add_resources() with spaces in paths | 5.11 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
224691,2 | Fix build with CMake when path to qrc file contains spaces | 5.9 | qt/tqtc-qmlcompiler | Status: MERGED | +2 | 0 |