diff options
author | Hannah von Reth <hannah.vonreth@kdab.com> | 2017-08-20 09:56:20 +0200 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@kdab.com> | 2017-08-21 09:05:46 +0000 |
commit | 0f6908b5f9eca09cf086410344a862b9d59ef727 (patch) | |
tree | d4db7c646bbec690f1f12e9fd0efb84665618622 | |
parent | 1fbf7aa65a13ae4177641adf3ee1b37e1064897d (diff) |
Fix the detection of python2.exe
Change-Id: I6a8be77d1acfea34252a3b5c5a17e1792787a32b
Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-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) { |