aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-11-29 10:08:08 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-11-29 11:57:51 +0100
commit3fca012c50e978c2bdc0ed5841fca8227e79b23c (patch)
treeef8b50d35c46343112831f11badfa82564f487f3 /build_scripts/utils.py
parentc242f3509ce43ce50cb5931f3e98c214d34cba51 (diff)
Fix libexec path for build
- Amends c242f3509ce43ce50cb5931f3e98c214d34cba51 Change-Id: Ib5f94f2ef8f01e798db16121569fcd73afcf2cb0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/utils.py')
-rw-r--r--build_scripts/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py
index c17e824b5..d8673c2e0 100644
--- a/build_scripts/utils.py
+++ b/build_scripts/utils.py
@@ -1376,7 +1376,8 @@ def available_pyside_tools(qt_tools_path: Path, package_for_wheels: bool = False
pyside_tools.extend([tool for tool in PYSIDE_WINDOWS_BIN_TOOLS
if tool_exist(bin_path / f"{tool}.exe")])
else:
- lib_exec_path = qt_tools_path / "Qt" / "libexec"
+ lib_exec_path = qt_tools_path / "Qt" / "libexec" if package_for_wheels \
+ else qt_tools_path / "libexec"
pyside_tools.extend([tool for tool in PYSIDE_LINUX_LIBEXEC_TOOLS
if tool_exist(lib_exec_path / tool)])
pyside_tools.extend([tool for tool in PYSIDE_LINUX_BIN_TOOLS