Files
qt-creator/share/qtcreator/qml/qmlpuppet/qml2puppet/qml2puppet.pro
Daniel Molkentin 745cb4b7ec Introduce $$QTC_PREFIX
'make install' now installs to $(INSTALL_ROOT)$$QTC_PREFIX/...

This is used for giving the contents of the 7zips an additional prefix.
(previously done by doing an additional copying step in bindistHelper).
QTC_PREFIX can also be used to give Qt Creator a different install path
at qmake time, and defaults to /usr/local on Linux.
On Windows and Mac there is no default for QTC_PREFIX.

Usage: qmake -r QTC_PREFIX=/qtcreator-2.6.0 && make &&
INSTALL_ROOT=/tmp/creator-dist make install

Change-Id: Id30781e14bfdde52531800f22b22e39f0459e806
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2012-09-25 10:14:51 +02:00

42 lines
940 B
Prolog

TARGET = qml2puppet
TEMPLATE = app
QT += core gui declarative network
contains (QT_CONFIG, webkit) {
QT += webkit
}
QT += core-private declarative-private gui-private script-private v8-private
DEFINES += QWEAKPOINTER_ENABLE_ARROW
include(../../../../qtcreator.pri)
DESTDIR = $$[QT_INSTALL_BINS]
include(../../../rpath.pri)
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)
}
SOURCES += main.cpp
RESOURCES += ../qmlpuppet.qrc
OTHER_FILES += Info.plist.in
macx {
info.input = Info.plist.in
info.output = $$DESTDIR/$${TARGET}.app/Contents/Info.plist
QMAKE_SUBSTITUTES += info
} else {
target.path = $$QTC_PREFIX/bin
INSTALLS += target
}