forked from qt-creator/qt-creator
Reason: $INSTALL_ROOT is only meant to be used by packagers to temporarily put the contents into a different location, which is needed for fakeroot packaging. QTC_PREFIX is not a qmake variable, and defaults to /usr/local. On Windows the default prefix is "QtCreator", since "make install" is expected to be used in a packaging context only where either INSTALL_ROOT should be used or QTC_PREFIX should be set to the absolute destination path where e.g. an installer generator will pick it up. Change-Id: Ifa4950340e58e34726c53f5417adcc7b50828ce1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
42 lines
940 B
Prolog
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
|
|
}
|