Skip to content
Snippets Groups Projects
Commit eb872d32 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

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: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
parent 6f26a46e
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ OTHER_FILES += dist/copyright_template.txt \ ...@@ -21,7 +21,7 @@ OTHER_FILES += dist/copyright_template.txt \
qbs/pluginspec/pluginspec.qbs qbs/pluginspec/pluginspec.qbs
qmake_cache = $$targetPath($$IDE_BUILD_TREE/.qmake.cache) qmake_cache = $$targetPath($$IDE_BUILD_TREE/.qmake.cache)
equals(QMAKE_DIR_SEP, /): { !equals(QMAKE_HOST.os, Windows) {
maybe_quote = "\"" maybe_quote = "\""
maybe_backslash = "\\" maybe_backslash = "\\"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment