Commit Graph

7 Commits

Author SHA1 Message Date
Eike Ziller
cde9f31068 macOS: Fix signing issues with notarization
Notarization requires signing with hardened runtime, but this added
requirements to the additional plugins we copy into Qt Creator for the
commercial package.

This patch fixes an issue with an absolute RPATH still being left in
extra plugins, and avoids copying plugins into an already signed
application by not signing the 7zips, but only the contents in the open
source disk image (and the installers are signed by the installer jobs
anyhow).

Change-Id: I8c945a0ad9df610b20a8ee110320875f255c65b4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-02-18 10:24:45 +00:00
Eike Ziller
07a5c196c4 Packaging: Restrict 7zip to 2 threads
Otherwise can create out-of-memory situations on 32bit machines
with many cores.

Change-Id: I7cc862d30079ff0fb11a3c088ae38d73afce4b1e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-04-12 11:51:22 +00:00
Tim Jenssen
75187c1e1b reduce compression rate to save some RAM
Change-Id: Icc124948a5223294e90fa27b7c4cf5924bdab5e2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-11-13 12:26:17 +00:00
Eike Ziller
1fce7ff4f5 Fix code signature on macOS
We build packages with extra debug info, but sign the application before
removing the debug info for the release package.
We have to codesign (potentially again) between copying and packaging.

Task-number: QTCREATORBUG-20370
Change-Id: I5549ca5045eb995e5a61794473c2d0180b778711
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2018-05-14 08:48:30 +00:00
Eike Ziller
b88bfe7db3 Filter debug info out when creating macOS disk image
Move the script to Python for that, for code sharing

Change-Id: I1a0b1ed7fe3ed4413045d478c82621d75800520e
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
2018-01-23 12:21:49 +00:00
Eike Ziller
e8f0c99f12 Fix copying of symlinks when creating package
Another fixup of fd54a377fe

Change-Id: Ica9635f37a98eba7277517c70ae59409ca71f176
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-01-17 15:23:59 +00:00
Eike Ziller
fd54a377fe Add make target for creating packages with debug info
Add a script that creates either a release binary package,
or a package with debug info, from a Qt Creator build with
CONFIG+=force_debug_info CONFIG+=separate_debug_info

Run "make bindist_installer" for the release package
and "make bindist_debug" for the package with only debug info.

First step for QTCREATORBUG-13002

Change-Id: I9d45db7f41f4af956221f6feb7c4e8ca7154892e
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-01-15 14:18:01 +00:00