2012-10-02 16:09:16 +02:00
|
|
|
|
2013-08-21 15:25:36 +02:00
|
|
|
QT += core gui widgets qml quick network
|
2013-03-26 15:58:20 +01:00
|
|
|
!isEmpty(QT.webkit.name) {
|
2012-10-02 16:09:16 +02:00
|
|
|
QT += webkit
|
|
|
|
}
|
|
|
|
|
2013-08-21 15:25:36 +02:00
|
|
|
!isEmpty(QT.v8.name) {
|
|
|
|
QT += v8
|
|
|
|
}
|
|
|
|
|
|
|
|
QT += core-private qml-private quick-private gui-private script-private
|
|
|
|
|
|
|
|
!isEmpty(QT.v8.name) {
|
|
|
|
QT += v8-private
|
|
|
|
}
|
2012-10-02 16:09:16 +02:00
|
|
|
|
2013-04-17 11:18:27 +02:00
|
|
|
!macx {
|
|
|
|
CONFIG += c++11
|
|
|
|
}
|
2013-04-15 15:33:14 +02:00
|
|
|
|
2012-10-02 16:09:16 +02:00
|
|
|
DEFINES += QWEAKPOINTER_ENABLE_ARROW
|
|
|
|
|
|
|
|
include (../instances/instances.pri)
|
|
|
|
include (instances/instances.pri)
|
|
|
|
include (../commands/commands.pri)
|
|
|
|
include (../container/container.pri)
|
|
|
|
include (../interfaces/interfaces.pri)
|
|
|
|
|
|
|
|
QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH)
|
|
|
|
!isEmpty(QT_BREAKPAD_ROOT_PATH) {
|
|
|
|
include($$QT_BREAKPAD_ROOT_PATH/qtbreakpad.pri)
|
|
|
|
}
|
|
|
|
|
2013-05-30 16:11:14 +02:00
|
|
|
SOURCES += $$PWD/qml2puppetmain.cpp
|
2012-10-02 16:09:16 +02:00
|
|
|
RESOURCES += $$PWD/../qmlpuppet.qrc
|
2013-01-12 23:29:24 +02:00
|
|
|
DEFINES -= QT_NO_CAST_FROM_ASCII
|
2012-10-02 16:09:16 +02:00
|
|
|
|
|
|
|
OTHER_FILES += Info.plist.in
|
|
|
|
macx {
|
2013-06-27 13:59:25 +02:00
|
|
|
isEmpty(QTCREATOR_PRI_INCLUDED) {
|
|
|
|
# So this .pri file is used by
|
|
|
|
# compiling the sources that were deployed to Qt Creator,
|
|
|
|
# and the Info.plist was generated by static.pro at build time
|
|
|
|
QMAKE_INFO_PLIST = $$PWD/Info.plist
|
|
|
|
} else {
|
|
|
|
# So this .pri file is used from Qt Creator source tree,
|
|
|
|
# and we need to generate the Info.plist
|
|
|
|
info.input = $$PWD/Info.plist.in
|
|
|
|
info.output = $$DESTDIR/$${TARGET}.app/Contents/Info.plist
|
|
|
|
QMAKE_SUBSTITUTES += info
|
|
|
|
}
|
2012-10-02 16:09:16 +02:00
|
|
|
} else {
|
|
|
|
target.path = $$QTC_PREFIX/bin
|
|
|
|
INSTALLS += target
|
|
|
|
}
|