diff options
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": |
