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.
36 lines
796 B
Plaintext
36 lines
796 B
Plaintext
QT += declarative script
|
|
INCLUDEPATH += $$PWD/include
|
|
DEPENDPATH += $$PWD $$PWD/include editor $$PWD/qt-private
|
|
|
|
contains(CONFIG, dll) {
|
|
DEFINES += BUILD_QMLJSDEBUGGER_LIB
|
|
} else {
|
|
DEFINES += BUILD_QMLJSDEBUGGER_STATIC_LIB
|
|
}
|
|
|
|
## Input
|
|
!contains(DEFINES, NO_JSDEBUGGER) {
|
|
HEADERS += \
|
|
include/jsdebuggeragent.h \
|
|
include/qmljsdebugger_global.h
|
|
|
|
SOURCES += \
|
|
jsdebuggeragent.cpp
|
|
}
|
|
|
|
!contains(DEFINES, NO_QMLOBSERVER) {
|
|
include($$PWD/editor/editor.pri)
|
|
|
|
HEADERS += \
|
|
include/qdeclarativeviewobserver.h \
|
|
include/qdeclarativeobserverservice.h \
|
|
include/qmlobserverconstants.h \
|
|
qdeclarativeviewobserver_p.h
|
|
|
|
SOURCES += \
|
|
qdeclarativeviewobserver.cpp \
|
|
qdeclarativeobserverservice.cpp
|
|
}
|
|
|
|
OTHER_FILES += qmljsdebugger.pri
|