summaryrefslogtreecommitdiffstats
path: root/src/macdeployqt/macdeployqt/main.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-08-12 08:45:06 +0200
committerMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-08-13 09:03:57 +0000
commit7a3718b02ca782c25ccc9de5c92664fccd6907bf (patch)
tree1ad6bad1c8e6b9f4fce5657e690ab2ffa27d3961 /src/macdeployqt/macdeployqt/main.cpp
parent85e64f95c8637f876ba84dcbd01e375050e76d8c (diff)
macdeployqt: strip the application binary
In addition to running 'strip' on the framework and plugin binaries. Change-Id: I90b1f50f8212d1399933d4cd5c35aaee8e5212f2 Task-number: QTBUG-17447 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'src/macdeployqt/macdeployqt/main.cpp')
-rw-r--r--src/macdeployqt/macdeployqt/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macdeployqt/macdeployqt/main.cpp b/src/macdeployqt/macdeployqt/main.cpp
index 450d11447..9dc53ae31 100644
--- a/src/macdeployqt/macdeployqt/main.cpp
+++ b/src/macdeployqt/macdeployqt/main.cpp
@@ -177,6 +177,9 @@ int main(int argc, char **argv)
createQtConf(appBundlePath);
}
+ if (runStripEnabled)
+ stripAppBinary(appBundlePath);
+
if (runCodesign)
codesign(codesignIdentiy, appBundlePath);