forked from qt-creator/qt-creator
The Info.plist.in files are actually handled by static.pro.
The projects should only be compiled from the deployed sources in the
build tree.
This reverts commit 30c602f458.
Change-Id: Ib63fb9e4db1c249817e59239029db7dd220ba5b3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
74 lines
1.7 KiB
Prolog
74 lines
1.7 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
|
|
}
|
|
}
|
|
|
|
# generation of Info.plist from Info.plist.in is handled by static.pro
|
|
# compiling this project directly from the Qt Creator source tree does not work
|
|
OTHER_FILES+=Info.plist
|
|
mac {
|
|
QMAKE_INFO_PLIST=Info.plist
|
|
TARGET=QMLObserver
|
|
ICON=qml.icns
|
|
} else {
|
|
TARGET=qmlobserver
|
|
}
|