OSDN Git Service

Fix QML custom plugin wizard
authorTobias Hunger <tobias.hunger@nokia.com>
Thu, 7 Oct 2010 10:07:02 +0000 (12:07 +0200)
committerTobias Hunger <tobias.hunger@nokia.com>
Thu, 7 Oct 2010 12:23:13 +0000 (14:23 +0200)
Fix QML custom plugin wizard to work on windows and for pathes
comtaining spaces.

Reviewed-by: Erik Verbruggen
share/qtcreator/templates/wizards/qml-extension/project.pro

index d4f5293..8a5a9c4 100644 (file)
@@ -18,6 +18,6 @@ OTHER_FILES = qmldir
 
 copy_qmldir.target = $$OUT_PWD/qmldir
 copy_qmldir.depends = $$PWD/qmldir
-copy_qmldir.commands = $(COPY_FILE) $$copy_qmldir.depends $$copy_qmldir.target
+copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
 QMAKE_EXTRA_TARGETS += copy_qmldir
 PRE_TARGETDEPS += $$copy_qmldir.target