summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_tool.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/qt_tool.prf')
-rw-r--r--mkspecs/features/qt_tool.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf
index f0864f9e74..1d3e88cbe9 100644
--- a/mkspecs/features/qt_tool.prf
+++ b/mkspecs/features/qt_tool.prf
@@ -45,8 +45,9 @@ CONFIG += console
} else {
module_envvars =
}
+ bin = $$system_path($$QMAKE_RESOLVED_TARGET)
TOOL_PRI_CONT = \
- "QT_TOOL.$${MODULE}.binary = $$QMAKE_RESOLVED_TARGET" \
+ "QT_TOOL.$${MODULE}.binary = $$val_escape(bin)" \
"QT_TOOL.$${MODULE}.depends =$$join(MODULE_DEPENDS, " ", " ")" \
$$module_envvars
write_file($$TOOL_PRI, TOOL_PRI_CONT)|error("Aborting.")