aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/unix.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2019-10-25 16:18:09 +0200
committerCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2019-10-31 10:05:59 +0100
commit7255f15da73b2d85a63d7636c8e901c224b713b2 (patch)
tree668a9cc7d9406ada4a028f343f5e2b5395f62485 /build_scripts/platforms/unix.py
parent1064a14bebdc27dd749d9ec91bce5aa88d7a5d0f (diff)
Add designer to the pyside tools
Fixes: PYSIDE-1001 Fixes: PYSIDE-1068 Change-Id: I0969cd234331789b300c8dc521ab6bbf84004d1d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/platforms/unix.py')
-rw-r--r--build_scripts/platforms/unix.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py
index 24a53e277..9327e8bd7 100644
--- a/build_scripts/platforms/unix.py
+++ b/build_scripts/platforms/unix.py
@@ -139,6 +139,19 @@ def prepare_packages_posix(self, vars):
],
recursive=False, vars=vars))
+ # Copying designer
+ if sys.platform == "darwin":
+ executables.extend(copydir(
+ "{install_dir}/bin/Designer.app",
+ "{st_build_dir}/{st_package_name}/Designer.app",
+ filter=None,
+ recursive=True, vars=vars))
+ else:
+ copyfile(
+ "{install_dir}/bin/designer",
+ "{st_build_dir}/{st_package_name}/designer",
+ force=False, vars=vars)
+
# <install>/lib/lib* -> {st_package_name}/
copydir(
"{install_dir}/lib/",