forked from qt-creator/qt-creator
Don't confuse users by two defines they have to comment in when they just want to 'debug': Instead QMLJSDEBUGGER now activates both the Js Debugger & and the QmlObserver services. Finetuning can still be done by using the (undocumented) NO_JSDEBUGGER, NO_QMLOBSERVER defines.
26 lines
530 B
Prolog
26 lines
530 B
Prolog
TEMPLATE = app
|
|
|
|
### FIXME: only debug plugins are now supported.
|
|
CONFIG -= release
|
|
CONFIG += debug
|
|
|
|
include(qml.pri)
|
|
|
|
SOURCES += main.cpp
|
|
|
|
exists($$PWD/qmljsdebugger/qmljsdebugger-lib.pri) {
|
|
# for building helpers within QT_INSTALL_DATA, we deploy the lib inside the observer directory.
|
|
include($$PWD/qmljsdebugger/qmljsdebugger-lib.pri)
|
|
} else {
|
|
include($$PWD/../qmljsdebugger/qmljsdebugger-lib.pri)
|
|
}
|
|
|
|
mac {
|
|
QMAKE_INFO_PLIST=Info_mac.plist
|
|
TARGET=QMLObserver
|
|
ICON=qml.icns
|
|
} else {
|
|
TARGET=qmlobserver
|
|
}
|
|
|