From c7334fbc8c33773231dd9c2e3c843e6a6a764fc5 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 25 Aug 2015 18:05:45 +0200 Subject: move automatic resource inclusion to pri files Avoid code duplication. Change-Id: Icd270ff4e45112111b7eb9590e415947f63ce15b Reviewed-by: Andras Becsi --- .../core/qwebenginecookiestoreclient/qwebenginecookiestoreclient.pro | 1 - .../qwebengineurlrequestinterceptor/qwebengineurlrequestinterceptor.pro | 1 - tests/auto/core/tests.pri | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/core') diff --git a/tests/auto/core/qwebenginecookiestoreclient/qwebenginecookiestoreclient.pro b/tests/auto/core/qwebenginecookiestoreclient/qwebenginecookiestoreclient.pro index ff6c49628..e99c7f493 100644 --- a/tests/auto/core/qwebenginecookiestoreclient/qwebenginecookiestoreclient.pro +++ b/tests/auto/core/qwebenginecookiestoreclient/qwebenginecookiestoreclient.pro @@ -1,2 +1 @@ include(../tests.pri) -exists($${TARGET}.qrc):RESOURCES += $${TARGET}.qrc diff --git a/tests/auto/core/qwebengineurlrequestinterceptor/qwebengineurlrequestinterceptor.pro b/tests/auto/core/qwebengineurlrequestinterceptor/qwebengineurlrequestinterceptor.pro index ff6c49628..e99c7f493 100644 --- a/tests/auto/core/qwebengineurlrequestinterceptor/qwebengineurlrequestinterceptor.pro +++ b/tests/auto/core/qwebengineurlrequestinterceptor/qwebengineurlrequestinterceptor.pro @@ -1,2 +1 @@ include(../tests.pri) -exists($${TARGET}.qrc):RESOURCES += $${TARGET}.qrc diff --git a/tests/auto/core/tests.pri b/tests/auto/core/tests.pri index 35dd94566..d6095c9a3 100644 --- a/tests/auto/core/tests.pri +++ b/tests/auto/core/tests.pri @@ -11,5 +11,7 @@ TARGET = tst_$$TARGET SOURCES += $${TARGET}.cpp INCLUDEPATH += $$PWD +exists($${TARGET}.qrc): RESOURCES += $${TARGET}.qrc + QT += testlib network webenginewidgets widgets osx: CONFIG -= app_bundle -- cgit v1.2.3