diff options
author | Shyamnath Premnadh <shyamnath.premnadh@qt.io> | 2023-04-17 17:03:06 +0200 |
---|---|---|
committer | Shyamnath Premnadh <shyamnath.premnadh@qt.io> | 2023-04-18 18:16:20 +0200 |
commit | a6c176fe8a48b8d5f5b7ffaa50b1bc8ab53321f2 (patch) | |
tree | c685c34ada4115f2266acc9a319537dbf546e323 /build_scripts/platforms/macos.py | |
parent | 5ee8cbc57c89c9242f93e58c8972448f817b6437 (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/macos.py')
-rw-r--r-- | build_scripts/platforms/macos.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/build_scripts/platforms/macos.py b/build_scripts/platforms/macos.py index 53cc32308..dbe60d343 100644 --- a/build_scripts/platforms/macos.py +++ b/build_scripts/platforms/macos.py @@ -9,7 +9,7 @@ from ..config import config from ..options import OPTION from ..utils import (copydir, copyfile, macos_add_rpath, macos_fix_rpaths_for_library) -from .. import PYSIDE +from .. import PYSIDE, PYSIDE_UNIX_BUNDLED_TOOLS def _macos_patch_executable(name, _vars=None): @@ -62,9 +62,8 @@ def prepare_standalone_package_macos(pyside_build, _vars): # Patching designer to use the Qt libraries provided in the wheel if config.is_internal_pyside_build() and not OPTION['NO_QT_TOOLS']: - _macos_patch_executable('assistant', _vars) - _macos_patch_executable('designer', _vars) - _macos_patch_executable('linguist', _vars) + for tool in PYSIDE_UNIX_BUNDLED_TOOLS: + _macos_patch_executable(tool, _vars) # <qt>/lib/* -> <setup>/{st_package_name}/Qt/lib if pyside_build.qt_is_framework_build(): |