Commit e518cdd4 authored by Eike Ziller's avatar Eike Ziller Committed by Oswald Buddenhagen
Browse files

Mac: Add make target for code signing.

Use like this:
SIGNING_IDENTITY="My ID" make codesign

Change-Id: Id71547a7e5926c34b6dad22017b5005791419cf0
Reviewed-by: default avatarOswald Buddenhagen <>
parent 7d5f1646
......@@ -20,10 +20,11 @@ OTHER_FILES += dist/copyright_template.txt \
macx {
deployqt.commands = $$PWD/scripts/ \"$${APPBUNDLE}\"
codesign.commands = codesign -s \"$(SIGNING_IDENTITY)\" \"$${APPBUNDLE}\"
bindist.commands = 7z a -mx9 $$OUT_PWD/qt-creator-mac$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX).7z \"$$OUT_PWD/bin/Qt\"
dmg.commands = $$PWD/scripts/ $$OUT_PWD/bin qt-creator-mac$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX).dmg
dmg.depends = deployqt
QMAKE_EXTRA_TARGETS += codesign dmg
} else {
deployqt.commands = $$PWD/scripts/ -i $(INSTALL_ROOT)
deployqt.depends = install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment