From 0f6908b5f9eca09cf086410344a862b9d59ef727 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Sun, 20 Aug 2017 09:56:20 +0200 Subject: Fix the detection of python2.exe Change-Id: I6a8be77d1acfea34252a3b5c5a17e1792787a32b Reviewed-by: Florian Bruhin Reviewed-by: Joerg Bornemann --- configure.pri | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.pri') 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) { -- cgit v1.2.3