aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/linux.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <shyamnath.premnadh@qt.io>2023-04-17 17:03:06 +0200
committerShyamnath Premnadh <shyamnath.premnadh@qt.io>2023-04-18 18:16:20 +0200
commita6c176fe8a48b8d5f5b7ffaa50b1bc8ab53321f2 (patch)
treec685c34ada4115f2266acc9a319537dbf546e323 /build_scripts/platforms/linux.py
parent5ee8cbc57c89c9242f93e58c8972448f817b6437 (diff)
Tooling: Simplify adding new tools
- Amends a48de6afbf127831aa46c1c006d777861bbbe9cb - Simplify the developer doc for adding new tools - Make build_scripts/__init__.py the primary place to add new tools for the build process Pick-to: 6.5 Change-Id: I1e8bd9e069471bf51a186c067773d7fbc2588769 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/platforms/linux.py')
-rw-r--r--build_scripts/platforms/linux.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/build_scripts/platforms/linux.py b/build_scripts/platforms/linux.py
index b346baf8a..bf778670d 100644
--- a/build_scripts/platforms/linux.py
+++ b/build_scripts/platforms/linux.py
@@ -8,7 +8,7 @@ from ..config import config
from ..options import OPTION
from ..utils import (copy_icu_libs, copydir, copyfile, find_files_using_glob,
linux_patch_executable)
-from .. import PYSIDE
+from .. import PYSIDE, PYSIDE_UNIX_BUNDLED_TOOLS
def prepare_standalone_package_linux(pyside_build, _vars, cross_build=False, is_android=False):
@@ -73,10 +73,10 @@ def prepare_standalone_package_linux(pyside_build, _vars, cross_build=False, is_
# Patching designer to use the Qt libraries provided in the wheel
if config.is_internal_pyside_build() and not OPTION['NO_QT_TOOLS']:
- assistant_path = destination_dir / "assistant"
- linux_patch_executable(pyside_build._patchelf_path, assistant_path)
- designer_path = destination_dir / "designer"
- linux_patch_executable(pyside_build._patchelf_path, designer_path)
+
+ for tool in PYSIDE_UNIX_BUNDLED_TOOLS:
+ tool_path = destination_dir / tool
+ linux_patch_executable(pyside_build._patchelf_path, tool_path)
if pyside_build.is_webengine_built(built_modules):
copydir("{qt_data_dir}/resources",