summaryrefslogtreecommitdiff
path: root/src/tools/qml2puppet
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qml2puppet')
-rw-r--r--src/tools/qml2puppet/qml2puppet/qml2puppet.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/qml2puppet/qml2puppet/qml2puppet.pro b/src/tools/qml2puppet/qml2puppet/qml2puppet.pro
index 383affb204..38ae1af110 100644
--- a/src/tools/qml2puppet/qml2puppet/qml2puppet.pro
+++ b/src/tools/qml2puppet/qml2puppet/qml2puppet.pro
@@ -8,9 +8,11 @@ BUILD_PUPPET_IN_CREATOR_BINPATH = $$(BUILD_PUPPET_IN_CREATOR_BINPATH)
CONFIG(debug, debug|release):isEmpty(BUILD_PUPPET_IN_CREATOR_BINPATH) {
QML_TARGET_PATH=$$[QT_INSTALL_BINS]/$$TARGET$$TARGET_EXT
if(write_file($$QML_TARGET_PATH)) {
+ CONVERTED_PATH=$$system_quote($$system_path($$QML_TARGET_PATH))
win32 {
- CONVERTED_PATH=$$system_quote($$system_path($$QML_TARGET_PATH))
system(del $$CONVERTED_PATH)
+ } else {
+ system(rm $$CONVERTED_PATH)
}
DESTDIR = $$[QT_INSTALL_BINS]
message("Build Qml Puppet to the Qt binary directory!")