summaryrefslogtreecommitdiffstats
path: root/tests/webkitwidgets/tests.pri
diff options
context:
space:
mode:
authorQt Forward Merge Bot <[email protected]>2019-10-11 12:44:19 +0200
committerQt Forward Merge Bot <[email protected]>2019-10-11 12:44:19 +0200
commitab1bd15209abaf7effc51dbc2f272c5681af7223 (patch)
tree680bfbc4ab13514a9d2288609377bd8461f1d9f6 /tests/webkitwidgets/tests.pri
parent5909e6d0d10de3e1370b3ea0bc596f580101e3b4 (diff)
parent2eac3aeb98fca0e6c13aaaff481861c5ef679e68 (diff)
Merge remote-tracking branch 'origin/5.212' into devHEADdev
Diffstat (limited to 'tests/webkitwidgets/tests.pri')
-rw-r--r--tests/webkitwidgets/tests.pri22
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/\\\"