summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwebpage/qwebpage.pro
blob: 47e323873a5680ecff337e50ecec6988e0cc6852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
load(qttest_p4)
contains(QT_CONFIG,webkit) {
    DEFINES += QTEST_WEBKIT
    QT += webkit network
    isEmpty(QT_BUILD_TREE):QT_BUILD_TREE=$(QTDIR)
    isEmpty(QT_SOURCE_TREE):QT_SOURCE_TREE=$$fromfile($$QT_BUILD_TREE/.qmake.cache, QT_SOURCE_TREE)

    TESTDIR = $$QT_SOURCE_TREE/src/3rdparty/webkit/WebKit/qt/tests/qwebpage
    VPATH += $$TESTDIR
    include($$TESTDIR/qwebpage.pro)
} else {
    SOURCES += dummy.cpp
}