diff options
Diffstat (limited to 'src/qml/configure.pri')
-rw-r--r-- | src/qml/configure.pri | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/qml/configure.pri b/src/qml/configure.pri deleted file mode 100644 index fcd2eacace..0000000000 --- a/src/qml/configure.pri +++ /dev/null @@ -1,22 +0,0 @@ -equals(QMAKE_HOST.os, Windows): EXE_SUFFIX = .exe - -defineTest(qtConfTest_detectPython) { - PYTHON_NAMES = python$$EXE_SUFFIX python2$${EXE_SUFFIX} python3$${EXE_SUFFIX} py$${EXE_SUFFIX} - for (name, PYTHON_NAMES) { - python_path = $$qtConfFindInPath("$$name") - !isEmpty(python_path): \ - break() - } - isEmpty(python_path) { - qtLog("No $$PYTHON_NAMES are found in PATH. Giving up.") - return(false) - } - - # Make tests.python.location available in configure.json. - $${1}.location = $$shell_path($$python_path) - export($${1}.location) - $${1}.cache += location - export($${1}.cache) - - return(true) -} |