Skip to content
Snippets Groups Projects
Commit de26dad9 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Add bindist and deployqt targets


Change-Id: Ide9a41d34e73e99959fca18053e06978f724b5aa
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent e96c5237
No related branches found
No related tags found
No related merge requests found
...@@ -16,3 +16,21 @@ unix:!macx:!isEmpty(copydata):SUBDIRS += bin ...@@ -16,3 +16,21 @@ unix:!macx:!isEmpty(copydata):SUBDIRS += bin
OTHER_FILES += dist/copyright_template.txt \ OTHER_FILES += dist/copyright_template.txt \
$$files(dist/changes-*) $$files(dist/changes-*)
macx {
APPBUNDLE = "$$OUT_PWD/bin/Qt Creator.app"
deployqt.commands = macdeployqt "$${APPBUNDLE}" \
-executable="$${APPBUNDLE}/Contents/MacOS/qmlpuppet.app/Contents/MacOS/qmlpuppet" \
-executable="$${APPBUNDLE}/Contents/Resources/qtpromaker" \
-executable="$${APPBUNDLE}/Contents/MacOS/qmlprofiler"
deployqt.depends = default
bindist.commands = 7z a -mx9 $$OUT_PWD/qtcreator$(INSTALL_POSTFIX).7z "$$OUT_PWD/bin/Qt Creator.app/"
} else {
deployqt.commands = $$PWD/scripts/deployqt.py -i $(INSTALL_ROOT)
win32:deployqt.commands ~= s,/,\\\\,g
deployqt.depends = install
bindist.commands = 7z a -mx9 $$OUT_PWD/qtcreator$(INSTALL_POSTFIX).7z $(INSTALL_ROOT)
win32:bindist.commands ~= s,/,\\\\,g
}
bindist.depends = deployqt
QMAKE_EXTRA_TARGETS += deployqt bindist
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment