summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Kallai <kadam@inf.u-szeged.hu>2014-10-29 03:11:32 -0700
committerAdam Kallai <kadam@inf.u-szeged.hu>2014-10-29 12:13:28 +0100
commit309b3fdccb1ea19d5402ddde8394ed1d3c2b0c0e (patch)
treea4ff98998893bac84b6cda8f113099af87bbfda5 /tools
parentff6b175a50dd936f4cb1a32eceedc4d63aea1ca7 (diff)
Fixing quotation mark usage for Windows
The Windows command shell try to interpret the single quotation mark as a command. Change-Id: I4dc4382bdbe0c90565f6ac56c33a80971669344c Reviewed-by: Andras Becsi <andras.becsi@digia.com> Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmake/mkspecs/features/functions.prf4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
index 0d15d0761..d84ef9d6f 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -10,8 +10,8 @@ defineTest(isPlatformSupported) {
}
defineTest(isPythonVersionSupported) {
- python_major_version = $$system("python -c 'import sys; print sys.version_info.major'")
- python_minor_version = $$system("python -c 'import sys; print sys.version_info.minor'")
+ python_major_version = $$system('python -c "import sys; print sys.version_info.major"')
+ python_minor_version = $$system('python -c "import sys; print sys.version_info.minor"')
greaterThan(python_major_version, 1): greaterThan(python_minor_version, 6): return(true)
return(false)
}