aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlplugindump/qmlplugindump.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlplugindump/qmlplugindump.pro')
-rw-r--r--tools/qmlplugindump/qmlplugindump.pro9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/qmlplugindump/qmlplugindump.pro b/tools/qmlplugindump/qmlplugindump.pro
index b777e0da75..0829173abe 100644
--- a/tools/qmlplugindump/qmlplugindump.pro
+++ b/tools/qmlplugindump/qmlplugindump.pro
@@ -9,7 +9,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)