From 228ea0d442e899fa9a95f901f17e47268accd8b7 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 26 Aug 2015 11:43:24 +0200 Subject: fix automatic resource file inclusion Commit c7334fbc broke the automatic resource file inclusion. qmake's exists function checks at the location of the .pri file, not the location of the .pro file. Change-Id: I54f1bc664c06c5675ef26341619142bc58f0831e Reviewed-by: Andras Becsi --- tests/auto/core/tests.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/core') 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 -- cgit v1.2.3