forked from qt-creator/qt-creator
Since we use Info.plist.in we need QMAKE_SUBSTITUTES and cannot use QMAKE_INFO_PLIST. We manualy replicate the target logic. Change-Id: I5b703d09db85457ba3bdadef97fd1cc2194b618f Reviewed-by: Eike Ziller <eike.ziller@digia.com>
73 lines
1.6 KiB
Prolog
73 lines
1.6 KiB
Prolog
TEMPLATE = app
|
|
|
|
CONFIG += qt uic
|
|
|
|
include(qml.pri)
|
|
|
|
SOURCES += main.cpp
|
|
|
|
exists($$PWD/../qmljsdebugger/qmljsdebugger-src.pri) {
|
|
# directly compile in debugger files
|
|
include($$PWD/../qmljsdebugger/qmljsdebugger-src.pri)
|
|
} else {
|
|
# INCLUDEPATH and library path has to be extended by qmake call
|
|
DEBUGLIB=QmlJSDebugger
|
|
CONFIG(debug, debug|release) {
|
|
windows:DEBUGLIB = QmlJSDebuggerd
|
|
}
|
|
LIBS+=-l$$DEBUGLIB
|
|
}
|
|
|
|
#INCLUDEPATH += ../../include/QtDeclarative
|
|
#INCLUDEPATH += ../../src/declarative/util
|
|
#INCLUDEPATH += ../../src/declarative/graphicsitems
|
|
|
|
!exists($$[QT_INSTALL_HEADERS]/QtCore/private/qabstractanimation_p.h) {
|
|
DEFINES += NO_PRIVATE_HEADERS
|
|
}
|
|
|
|
target.path = $$[QT_INSTALL_BINS]
|
|
INSTALLS += target
|
|
|
|
wince* {
|
|
QT += xml
|
|
|
|
contains(QT_CONFIG, scripttools) {
|
|
QT += scripttools
|
|
}
|
|
contains(QT_CONFIG, phonon) {
|
|
QT += phonon
|
|
}
|
|
contains(QT_CONFIG, xmlpatterns) {
|
|
QT += xmlpatterns
|
|
}
|
|
contains(QT_CONFIG, webkit) {
|
|
QT += webkit
|
|
}
|
|
}
|
|
maemo5 {
|
|
QT += maemo5
|
|
}
|
|
symbian {
|
|
TARGET.UID3 = 0x20021317
|
|
include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
|
|
TARGET.EPOCHEAPSIZE = 0x20000 0x4000000
|
|
TARGET.CAPABILITY = NetworkServices ReadUserData
|
|
!contains(S60_VERSION, 3.1):!contains(S60_VERSION, 3.2) {
|
|
LIBS += -lsensrvclient -lsensrvutil
|
|
}
|
|
contains(QT_CONFIG, s60): {
|
|
LIBS += -lavkon -lcone
|
|
}
|
|
}
|
|
OTHER_FILES+=Info.plist.in
|
|
mac {
|
|
TARGET=QMLObserver
|
|
info.input = Info.plist.in
|
|
info.output = $$DESTDIR/$${TARGET}.app/Contents/Info.plist
|
|
QMAKE_SUBSTITUTES += info
|
|
ICON=qml.icns
|
|
} else {
|
|
TARGET=qmlobserver
|
|
}
|