diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-08-26 11:43:24 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-08-26 09:53:01 +0000 |
commit | 228ea0d442e899fa9a95f901f17e47268accd8b7 (patch) | |
tree | 5bc43c38150e4115b412f03de293b3301f832048 /tests | |
parent | 3320515bb4578769dee8b0f0d6ab4ad77284f383 (diff) |
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 <andras.becsi@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/core/tests.pri | 2 | ||||
-rw-r--r-- | tests/auto/widgets/tests.pri | 2 |
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 |