Files
qt-creator/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppet.pri
Thomas Hartmann e0a3e25491 Qml2Puppet: Introduce QmlPrivateGate
The goal is to avoid direct usage of private API.
Any access to private QML API is supposed to go through QmlPrivateGate.

NodeInstanceMetaObject is moved into QmlPrivateGate and renamed to just
MetaObject.

Change-Id: Iba0b574605e455b01e7b86306ec3ca47be7b4e58
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-05-19 12:04:41 +00:00

49 lines
1.0 KiB
Plaintext

QT += core gui widgets qml quick network
!isEmpty(QT.webkit.name) {
QT += webkit
}
!isEmpty(QT.v8.name) {
QT += v8
}
QT += core-private qml-private quick-private gui-private
!isEmpty(QT.v8.name) {
QT += v8-private
}
CONFIG += c++11
DEFINES -= QT_CREATOR
include (../instances/instances.pri)
include (instances/instances.pri)
include (../commands/commands.pri)
include (../container/container.pri)
include (../interfaces/interfaces.pri)
include (../types/types.pri)
include (../qmlprivategate/qmlprivategate.pri)
QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH)
!isEmpty(QT_BREAKPAD_ROOT_PATH) {
include($$QT_BREAKPAD_ROOT_PATH/qtbreakpad.pri)
}
SOURCES += $$PWD/qml2puppetmain.cpp
RESOURCES += $$PWD/../qmlpuppet.qrc
DEFINES -= QT_NO_CAST_FROM_ASCII
DISTFILES += Info.plist
unix:!osx:LIBS += -lrt # posix shared memory
osx {
CONFIG -= app_bundle
QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$system_quote($$PWD/Info.plist)
} else {
target.path = $$QTC_PREFIX/bin
INSTALLS += target
}