QmlApp: Only use QMLJSDEBUGGER define to activate qml debugging

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.
This commit is contained in:
Kai Koehne
2010-10-09 21:20:15 +02:00
committed by dt
parent 8162839827
commit 0a8c34d382
6 changed files with 10 additions and 16 deletions

View File

@@ -9,14 +9,16 @@ contains(CONFIG, dll) {
}
## Input
!contains(DEFINES, NO_JSDEBUGGER) {
HEADERS += \
include/jsdebuggeragent.h \
include/qmljsdebugger_global.h
SOURCES += \
jsdebuggeragent.cpp
}
contains(DEFINES, QMLOBSERVER) {
!contains(DEFINES, NO_QMLOBSERVER) {
include($$PWD/editor/editor.pri)
HEADERS += \