aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml/qmlpuppet/qmlpuppet/qmlpuppet.pri
blob: 0f6b2284feb881e8a9fbbf287741b8f32ca0d17d (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
QT += core gui network declarative

greaterThan(QT_MAJOR_VERSION, 4) {
    QT += declarative-private core-private widgets-private gui-private script-private
} else {
    contains (QT_CONFIG, webkit) {
        QT += webkit
    }
}

DEFINES += QWEAKPOINTER_ENABLE_ARROW
# to support the in Qt5 deprecated but in Qt4 useful QWeakPointer
# change the QT_DISABLE_DEPRECATED_BEFORE version to Qt4
greaterThan(QT_MAJOR_VERSION, 4):DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040900

include (../instances/instances.pri)
include (instances/instances.pri)
include (../commands/commands.pri)
include (../container/container.pri)
include (../interfaces/interfaces.pri)
include (../types/types.pri)

SOURCES += $$PWD/qmlpuppetmain.cpp
RESOURCES += $$PWD/../qmlpuppet.qrc
DEFINES -= QT_NO_CAST_FROM_ASCII

unix:!macx:LIBS += -lrt # posix shared memory

DISTFILES += Info.plist
macx {
    CONFIG -= app_bundle
    QMAKE_LFLAGS += -sectcreate __TEXT __info_plist \"$$PWD/Info.plist\"
} else {
    target.path  = $$QTC_PREFIX/bin
    INSTALLS    += target
}