forked from qt-creator/qt-creator
Don't force users to inherit from QDeclarativeDesignView. Instead we're using now event filters to let a user attach a QDeclarativeViewObserver object to a QDeclarativeDesignView.
32 lines
776 B
Plaintext
32 lines
776 B
Plaintext
QT += declarative script
|
|
INCLUDEPATH += $$PWD $$PWD/include editor
|
|
DEPENDPATH += $$PWD $$PWD/include editor
|
|
|
|
contains(CONFIG, dll) {
|
|
DEFINES += BUILD_QMLJSDEBUGGER_LIB
|
|
} else {
|
|
DEFINES += BUILD_QMLJSDEBUGGER_STATIC_LIB
|
|
}
|
|
|
|
## Once is not enough
|
|
include($$PWD/../../../src/private_headers.pri)
|
|
include($$PWD/../../../src/private_headers.pri)
|
|
|
|
include($$PWD/editor/editor.pri)
|
|
|
|
## Input
|
|
HEADERS += \
|
|
include/jsdebuggeragent.h \
|
|
include/qdeclarativeviewobserver.h \
|
|
include/qdeclarativedesigndebugserver.h \
|
|
include/qmlviewerconstants.h \
|
|
include/qmljsdebugger_global.h \
|
|
qdeclarativeviewobserver_p.h
|
|
|
|
SOURCES += \
|
|
jsdebuggeragent.cpp \
|
|
qdeclarativeviewobserver.cpp \
|
|
qdeclarativedesigndebugserver.cpp
|
|
|
|
OTHER_FILES += qmljsdebugger.pri
|