summaryrefslogtreecommitdiff
path: root/qtcreator.pro
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-03-28 17:44:09 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2013-04-03 14:10:59 +0200
commiteb872d3204039489544b5e14efba899a55d6eae4 (patch)
tree1fdb89d562ac738885eb27952cf2ec654f541f61 /qtcreator.pro
parent6f26a46e7a5625e53a9a8cf3d39961c11236f38d (diff)
downloadqt-creator-eb872d3204039489544b5e14efba899a55d6eae4.tar.gz
Fix potential quoting problem in .qmake.cache on Windows.
Unlike mingw makefiles, system() actually always uses the real host shell, so use the host OS instead of the makefiles' path separator as the discriminator. Change-Id: Iaba6fc76f469e75fadd9d07e0c9e1ac07016338c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'qtcreator.pro')
-rw-r--r--qtcreator.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtcreator.pro b/qtcreator.pro
index 532053369d..091b693799 100644
--- a/qtcreator.pro
+++ b/qtcreator.pro
@@ -21,7 +21,7 @@ OTHER_FILES += dist/copyright_template.txt \
qbs/pluginspec/pluginspec.qbs
qmake_cache = $$targetPath($$IDE_BUILD_TREE/.qmake.cache)
-equals(QMAKE_DIR_SEP, /): {
+!equals(QMAKE_HOST.os, Windows) {
maybe_quote = "\""
maybe_backslash = "\\"
}