forked from qt-creator/qt-creator
Make sure that the private API used from Qt is compiled with Q_DECL_IMPORT. Task-number: QTCREATORBUG-2609
34 lines
754 B
Plaintext
34 lines
754 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
|
|
HEADERS += \
|
|
include/jsdebuggeragent.h \
|
|
include/qmljsdebugger_global.h
|
|
|
|
SOURCES += \
|
|
jsdebuggeragent.cpp
|
|
|
|
contains(DEFINES, 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
|