diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-11-26 17:36:26 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-07 15:24:41 +0100 |
| commit | f9c925261c1835a723407b3f81fbfd09aaf0b004 (patch) | |
| tree | a0279a4dc77dc8b8ab6a7fced869ae5b9cde8367 /build_scripts/utils.py | |
| parent | 30e4777956513daeba0f55cef50de4881d0bb2f1 (diff) | |
setup.py: Deprecate qmake option in favor of qtpaths
The setup.py --qmake option is deprecated starting with Qt 6.3 and
will likely be removed in Qt 6.4.
The --qtpaths option should be used instead.
Change Coin build instructions to use qtpaths. Documentation builds
should also be adapted.
Coin test instructions still use qmake for wheel_tester.py
[ChangeLog][setup.py] The setup.py --qmake option is deprecated
starting with Qt 6.3. Use the --qtpaths option instead.
Change-Id: I0f5661162f70b38ce0c9939620e7dbb3151050fd
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'build_scripts/utils.py')
| -rw-r--r-- | build_scripts/utils.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py index 4b91bd493..10af2725f 100644 --- a/build_scripts/utils.py +++ b/build_scripts/utils.py @@ -1220,6 +1220,16 @@ def acceptCITestConfiguration(hostOS, hostOSVer, targetArch, compiler): return True +def get_ci_qtpaths_path(ci_install_dir, ci_host_os): + qtpaths_path = f"--qtpaths={ci_install_dir}" + if ci_host_os == "MacOS": + return f"{qtpaths_path}/bin/qtpaths" + elif ci_host_os == "Windows": + return f"{qtpaths_path}\\bin\\qtpaths.exe" + else: + return f"{qtpaths_path}/bin/qtpaths" + + def get_ci_qmake_path(ci_install_dir, ci_host_os): qmake_path = f"--qmake={ci_install_dir}" if ci_host_os == "MacOS": |
