diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2024-04-03 11:31:09 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-04-03 16:38:35 +0000 |
commit | 2a380a997ca6a5c4d1d2b531831d392877389f99 (patch) | |
tree | 1faf55264d9043236b930e658ef5964eb11c8075 /mkspecs/features/functions.prf | |
parent | ece335f5a4d5b7029a9a10567901b0ffc2bb2704 (diff) |
Fixup "Add option to chose python version for building 5.15 WebEngine"
It caused conflicts in top-level windows builds due to duplicate names
for python tests.
Change-Id: I869d7a87a8c562f9bf601fa9545d9a40df2a4166
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 17fd3176988586168bee8654008a097a5f23ec1d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'mkspecs/features/functions.prf')
-rw-r--r-- | mkspecs/features/functions.prf | 6 |
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. |