diff options
author | Liang Qi <liang.qi@digia.com> | 2013-05-27 14:04:58 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-28 18:00:26 (GMT) |
commit | 466930aa3c942dada0139b73dbcbab71d9d39489 (patch) | |
tree | f3e2362999cd9477da5c9b48b6e831ac7633991d /tools/qmlplugindump/qmlplugindump.pro | |
parent | 8053ae4030b4342f73a08b9870ccd19189ae401d (diff) | |
download | Qt-466930aa3c942dada0139b73dbcbab71d9d39489.zip Qt-466930aa3c942dada0139b73dbcbab71d9d39489.tar.gz Qt-466930aa3c942dada0139b73dbcbab71d9d39489.tar.bz2 |
Tools: unnecessary to make qmlplugindump a bundle
Embed Info.plist in qmlplugindump executable in a special way.
Change-Id: Ia83cf15a1dc8c7e37560a280bd711ff2e4468ad8
(adpated from qtdeclarative/4d173d5f16c103f640d4089feed44a74b14e9004)
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'tools/qmlplugindump/qmlplugindump.pro')
-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 e9fcdc7..216c73b 100644 --- a/tools/qmlplugindump/qmlplugindump.pro +++ b/tools/qmlplugindump/qmlplugindump.pro @@ -13,8 +13,13 @@ 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 \"$$PWD/Info.plist\" + CONFIG -= app_bundle +} # Build debug and release versions of the tool on Windows - # if debug and release versions of Qt have been built. |