diff options
author | Liang Qi <liang.qi@digia.com> | 2013-05-27 16:00:57 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-27 16:06:59 +0200 |
commit | 1ebc13a32f336256e5b0f983676ab192f38e3d98 (patch) | |
tree | e6d652eb4e11dc5b445c3119a84d7bbaf454c353 | |
parent | d0a20ab3ca10a62cad301d8b9d151f51fa85c3a4 (diff) |
Tools: unnecessary to make qmlplugindump a bundle
Embed Info.plist in qmlplugindump executable in a special way.
Change-Id: Ia83cf15a1dc8c7e37560a280bd711ff2e4468ad8
(cherry-picked from qtdeclarative/4d173d5f16c103f640d4089feed44a74b14e9004)
Reviewed-by: Liang Qi <liang.qi@digia.com>
-rw-r--r-- | tools/qmlplugindump/qmlplugindump.pro | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/qmlplugindump/qmlplugindump.pro b/tools/qmlplugindump/qmlplugindump.pro index ba71223b..cf812859 100644 --- a/tools/qmlplugindump/qmlplugindump.pro +++ b/tools/qmlplugindump/qmlplugindump.pro @@ -11,7 +11,12 @@ SOURCES += \ HEADERS += \ qmlstreamwriter.h -OTHER_FILES += Info.plist -macx: QMAKE_INFO_PLIST = Info.plist +mac { + # Prevent qmlplugindump from popping up in the dock when launched. + # We embed the Info.plist file, so the application doesn't need to + # be a bundle. + QMAKE_LFLAGS += -sectcreate __TEXT __info_plist $$shell_quote($$PWD/Info.plist) + CONFIG -= app_bundle +} load(qt_tool) |