summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/tests.pri
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/tests.pri')
-rw-r--r--tests/auto/core/tests.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/core/tests.pri b/tests/auto/core/tests.pri
index 885cf60d4..59d6c0865 100644
--- a/tests/auto/core/tests.pri
+++ b/tests/auto/core/tests.pri
@@ -12,4 +12,6 @@ exists($$_PRO_FILE_PWD_/$${TARGET}.qrc): RESOURCES += $${TARGET}.qrc
QT += testlib network webenginewidgets widgets
+# This define is used by some tests to look up resources in the source tree
+DEFINES += TESTS_SOURCE_DIR=\\\"$$PWD/\\\"
include(../embed_info_plist.pri)