summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-12-10 17:55:24 +0100
committerIvan Komissarov <ABBAPOH@gmail.com>2020-12-14 09:42:40 +0000
commit962918629bc83a4da291b8f30ff4d9caabf43e21 (patch)
treed3e4b0f99aff5cdfab47916d72c254ae62099dfd /scripts
parent4b33979bcdac3541163ad5a48ed1964999896ba6 (diff)
downloadqt-creator-962918629bc83a4da291b8f30ff4d9caabf43e21.tar.gz
qbs: fix installing doc dependenices on macOS and Windows
python still aliases to python 2.7 on macOS, so we need a smarter way to find python3. Change-Id: I229d8c1e124fb599119991b44c0f6d88d39b1684 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build.py b/scripts/build.py
index c4b2e36cc7..1aa491f1bc 100755
--- a/scripts/build.py
+++ b/scripts/build.py
@@ -132,6 +132,7 @@ def build_qtcreator(args, paths):
if args.python3:
cmake_args += ['-DPYTHON_EXECUTABLE=' + args.python3]
+ cmake_args += ['-DPython3_EXECUTABLE=' + args.python3]
if args.module_paths:
module_paths = [common.to_posix_path(os.path.abspath(fp)) for fp in args.module_paths]