coretests.pro 1.87 KB
Newer Older
1 2 3 4 5
QTC_LIB_DEPENDS += \
    utils \
    qmljs \
    qmleditorwidgets \
    cplusplus
Marco Bubke's avatar
Marco Bubke committed
6

7 8 9
QTC_PLUGIN_DEPENDS += \
    coreplugin \
    qmljseditor
10

11 12 13 14
include(../../../qttest.pri)
include($$IDE_SOURCE_TREE/src/plugins/qmldesigner/config.pri)

QT += network core-private
Fawzi Mohamed's avatar
Fawzi Mohamed committed
15 16 17 18 19 20 21 22 23

greaterThan(QT_MAJOR_VERSION, 4) {
    QT += printsupport
    !isEmpty(QT.webkitwidgets.name): QT += webkitwidgets webkit
    else: DEFINES += QT_NO_WEBKIT
} else {
    contains(QT_CONFIG, webkit): QT += webkit
}

24
DEFINES+=QTCREATORDIR=\\\"$$IDE_BUILD_TREE\\\"
25 26 27
DEFINES += QTCREATOR_TEST
DEFINES += QMLDESIGNER_TEST
DEFINES += QT_RESTRICTED_CAST_FROM_ASCII
28

29 30
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore/include
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore
31 32
INCLUDEPATH += $$IDE_SOURCE_TREE//share/qtcreator/qml/qmlpuppet
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner
33 34 35 36 37 38 39 40 41
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/integration
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/componentcore
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/itemlibrary
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/navigator
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/stateseditor
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/formeditor
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/propertyeditor
INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/debugview
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/libs/3rdparty
42

43
include($$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore/designercore-lib.pri)
44 45 46 47

CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
48
SOURCES += \
49
    ../testview.cpp \
50 51 52
    testrewriterview.cpp \
    tst_testcore.cpp
HEADERS += \
53
    ../testview.h \
54 55
    testrewriterview.h \
    tst_testcore.h
56
RESOURCES += ../data/testfiles.qrc