summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/functions.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/functions.prf')
-rw-r--r--mkspecs/features/functions.prf6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkspecs/features/functions.prf b/mkspecs/features/functions.prf
index 65500776b..7f630588a 100644
--- a/mkspecs/features/functions.prf
+++ b/mkspecs/features/functions.prf
@@ -44,11 +44,11 @@ defineReplace(which) {
# Returns the unquoted path to the python executable.
defineReplace(pythonPath) {
- isEmpty(QMAKE_PYTHON) {
+ isEmpty(QMAKE_PYTHON2) {
# Fallback for building QtWebEngine with Qt < 5.8
- QMAKE_PYTHON = python
+ QMAKE_PYTHON2 = python
}
- return($$QMAKE_PYTHON)
+ return($$QMAKE_PYTHON2)
}
# Returns the python executable for use with shell / make targets.