aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/macos.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/platforms/macos.py')
-rw-r--r--build_scripts/platforms/macos.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_scripts/platforms/macos.py b/build_scripts/platforms/macos.py
index 69c2a436c..07a565f35 100644
--- a/build_scripts/platforms/macos.py
+++ b/build_scripts/platforms/macos.py
@@ -41,6 +41,7 @@ import fnmatch
import os
from ..config import config
+from ..options import OPTION
from ..utils import (copydir, copyfile, macos_add_rpath,
macos_fix_rpaths_for_library)
from ..versions import PYSIDE
@@ -90,7 +91,7 @@ def prepare_standalone_package_macos(self, _vars):
return True
# Patching designer to use the Qt libraries provided in the wheel
- if config.is_internal_pyside_build():
+ 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)