blob: 216c73b13ba1dcbc58e080b5813af184ac3ec1ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
TEMPLATE = app
CONFIG += qt uic console
DESTDIR = ../../bin
QT += declarative
TARGET = qmlplugindump
SOURCES += \
main.cpp \
qmlstreamwriter.cpp
HEADERS += \
qmlstreamwriter.h
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.
!build_pass:win32 {
CONFIG -= debug release debug_and_release build_all
contains(QT_CONFIG,debug):contains(QT_CONFIG,release) {
CONFIG += debug_and_release build_all
} else {
contains(QT_CONFIG,debug): CONFIG += debug
contains(QT_CONFIG,release): CONFIG += release
}
}
CONFIG(debug, debug|release) {
win32: TARGET = $$join(TARGET,,,d)
}
target.path = $$[QT_INSTALL_BINS]
INSTALLS += target
|