summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/core/tests.pri2
-rw-r--r--tests/auto/widgets/tests.pri2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/core/tests.pri b/tests/auto/core/tests.pri
index d6095c9a3..cd6ef8615 100644
--- a/tests/auto/core/tests.pri
+++ b/tests/auto/core/tests.pri
@@ -11,7 +11,7 @@ TARGET = tst_$$TARGET
SOURCES += $${TARGET}.cpp
INCLUDEPATH += $$PWD
-exists($${TARGET}.qrc): RESOURCES += $${TARGET}.qrc
+exists($$_PRO_FILE_PWD_/$${TARGET}.qrc): RESOURCES += $${TARGET}.qrc
QT += testlib network webenginewidgets widgets
osx: CONFIG -= app_bundle
diff --git a/tests/auto/widgets/tests.pri b/tests/auto/widgets/tests.pri
index 7d7915b8a..afdf46f42 100644
--- a/tests/auto/widgets/tests.pri
+++ b/tests/auto/widgets/tests.pri
@@ -11,7 +11,7 @@ TARGET = tst_$$TARGET
SOURCES += $${TARGET}.cpp
INCLUDEPATH += $$PWD
-exists($${TARGET}.qrc): RESOURCES += $${TARGET}.qrc
+exists($$_PRO_FILE_PWD_/$${TARGET}.qrc): RESOURCES += $${TARGET}.qrc
QT += testlib network webenginewidgets widgets
macx: CONFIG -= app_bundle