From 309b3fdccb1ea19d5402ddde8394ed1d3c2b0c0e Mon Sep 17 00:00:00 2001
From: Adam Kallai <kadam@inf.u-szeged.hu>
Date: Wed, 29 Oct 2014 03:11:32 -0700
Subject: [PATCH] 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>
---
 tools/qmake/mkspecs/features/functions.prf | 4 ++--
 1 file 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)
 }
-- 
GitLab