summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/functions.prf
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2024-01-22 17:02:21 +0100
committerMichael BrĂ¼ning <michael.bruning@qt.io>2024-03-25 11:25:13 +0100
commit2294cc4ed5fdbaec93792f4f6094a68e2e6a9a8c (patch)
tree33edf03d0dc19c1963273a3c1ca88a442e2ee41a /mkspecs/features/functions.prf
parent71dd46b3790e8b1b1dec40f65aff94ddb467e444 (diff)
Add option to chose python version for building 5.15 WebEngine
[ChangeLog] Adds the configure option --webengine-python-version to allow the user to select the python version for building. Valid options are python2 or python3. The default version will continue to be Python 2. Fixes: QTBUG-117693 Change-Id: Ie12ce78d1d81c49a2c46acc4160c13f766d56fe7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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 7f630588a..65500776b 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_PYTHON2) {
+ isEmpty(QMAKE_PYTHON) {
# Fallback for building QtWebEngine with Qt < 5.8
- QMAKE_PYTHON2 = python
+ QMAKE_PYTHON = python
}
- return($$QMAKE_PYTHON2)
+ return($$QMAKE_PYTHON)
}
# Returns the python executable for use with shell / make targets.