diff options
Diffstat (limited to 'configure.pri')
-rw-r--r-- | configure.pri | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.pri b/configure.pri index ce36642bb..7cd48c043 100644 --- a/configure.pri +++ b/configure.pri @@ -18,9 +18,9 @@ defineTest(isPythonVersionSupported) { } defineTest(qtConfTest_detectPython2) { - python = $$qtConfFindInPath("python2") + python = $$qtConfFindInPath("python2$$EXE_SUFFIX") isEmpty(python) { - qtLog("'python2' not found in PATH. Checking for 'python'.") + qtLog("'python2$$EXE_SUFFIX' not found in PATH. Checking for 'python$$EXE_SUFFIX'.") python = $$qtConfFindInPath("python$$EXE_SUFFIX") } isEmpty(python) { |