diff options
Diffstat (limited to 'tests/webkitwidgets/tests.pri')
-rw-r--r-- | tests/webkitwidgets/tests.pri | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/webkitwidgets/tests.pri b/tests/webkitwidgets/tests.pri new file mode 100644 index 000000000..b48806286 --- /dev/null +++ b/tests/webkitwidgets/tests.pri @@ -0,0 +1,22 @@ +TEMPLATE = app + +VPATH += $$_PRO_FILE_PWD_ +TARGET = tst_$$TARGET + +# Load mobilityconfig if Qt Mobility is available +load(mobilityconfig, true) +contains(MOBILITY_CONFIG, multimedia) { + # This define is used by tests depending on Qt Multimedia + DEFINES -= WTF_USE_QT_MULTIMEDIA=0 + DEFINES += WTF_USE_QT_MULTIMEDIA=1 +} + +SOURCES += $${TARGET}.cpp +INCLUDEPATH += \ + $$PWD \ + $$PWD/../Api + +QT += testlib network webkitwidgets widgets + +# This define is used by some tests to look up resources in the source tree +DEFINES += TESTS_SOURCE_DIR=\\\"$$PWD/\\\" |