Details
-
Sub-task
-
Resolution: Done
-
Not Evaluated
-
None
-
Windows 7 64-bit, QT 4.7.0, QT Creator 2.0.94 (2.1.0-pre-rc)
-
274af0f2f9c689e8bd0bb6abba77bdf7b09ac5f6
Description
This bug is easily reproducible by creating a new "QT Quick Application" in QT Creator 2.0.94 (2.1.0-pre-rc), and specifying a project path OR build path with a space in it, e.g. "C:\Users\John Doe\Projects\MyProject\". Attempts to build will produce error message "[copydeploymentfolders] Error 4"
Patch: Update line 91 of auto-generated qmlapplicationviewer.pri from:
sourceAndTarget = $$MAINPROFILEPWD/$$source $$OUT_PWD/$$eval($${deploymentfolder}.target)/$$last(pathSegments)
to:
sourceAndTarget = \"$$MAINPROFILEPWD/$$source\" \"$$OUT_PWD/$$eval($${deploymentfolder}.target)/$$last(pathSegments)\"