tizen beta release
[profile/ivi/webkit-efl.git] / Source / WebKit / qt / tests / tests.pri
1 TEMPLATE = app
2
3 VPATH += $$_PRO_FILE_PWD_
4 TARGET = tst_$$TARGET
5
6 # Load mobilityconfig if Qt Mobility is available
7 load(mobilityconfig, true)
8 contains(MOBILITY_CONFIG, multimedia) {
9     # This define is used by tests depending on Qt Multimedia
10     DEFINES -= WTF_USE_QT_MULTIMEDIA=0
11     DEFINES += WTF_USE_QT_MULTIMEDIA=1
12 }
13
14 SOURCES += $${TARGET}.cpp
15 INCLUDEPATH += \
16     $$PWD \
17     $$PWD/../Api
18
19 QT += testlib network
20 haveQt(5): QT += widgets
21
22 CONFIG += qtwebkit
23
24 haveQt(5) {
25     contains(QT_CONFIG, qtquick1): QT += declarative qtquick1
26 } else {
27     contains(QT_CONFIG, declarative): QT += declarative
28 }
29
30 # This define is used by some tests to look up resources in the source tree
31 DEFINES += TESTS_SOURCE_DIR=\\\"$$PWD/\\\"