From 5c549fba306404028a815ff902c0e42660d08024 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 12 Nov 2019 17:48:15 +0100 Subject: Regenerate tests/auto/widgets/styles Change-Id: I8c9a63d0ac33465db832f01e1dd84abbea66fb30 Reviewed-by: Simon Hausmann --- tests/auto/widgets/styles/qmacstyle/CMakeLists.txt | 16 +++++++++- .../widgets/styles/qstyleoption/CMakeLists.txt | 17 ++++++++++- .../widgets/styles/qstylesheetstyle/CMakeLists.txt | 35 ++++++++++++++++++++-- 3 files changed, 63 insertions(+), 5 deletions(-) (limited to 'tests/auto/widgets') diff --git a/tests/auto/widgets/styles/qmacstyle/CMakeLists.txt b/tests/auto/widgets/styles/qmacstyle/CMakeLists.txt index a1b68b3d74..59d33b9589 100644 --- a/tests/auto/widgets/styles/qmacstyle/CMakeLists.txt +++ b/tests/auto/widgets/styles/qmacstyle/CMakeLists.txt @@ -1 +1,15 @@ -add_qt_test("tst_qmacstyle" SOURCES tst_qmacstyle.cpp LIBRARIES Qt::WidgetsPrivate) +# Generated from qmacstyle.pro. + +##################################################################### +## tst_qmacstyle Test: +##################################################################### + +add_qt_test(tst_qmacstyle + SOURCES + tst_qmacstyle.cpp + LIBRARIES + Qt::WidgetsPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Widgets +) diff --git a/tests/auto/widgets/styles/qstyleoption/CMakeLists.txt b/tests/auto/widgets/styles/qstyleoption/CMakeLists.txt index 855336b769..e174057cbb 100644 --- a/tests/auto/widgets/styles/qstyleoption/CMakeLists.txt +++ b/tests/auto/widgets/styles/qstyleoption/CMakeLists.txt @@ -1 +1,16 @@ -add_qt_test("tst_qstyleoption" SOURCES tst_qstyleoption.cpp LIBRARIES Qt::Widgets) +# Generated from qstyleoption.pro. + +##################################################################### +## tst_qstyleoption Test: +##################################################################### + +add_qt_test(tst_qstyleoption + SOURCES + tst_qstyleoption.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Widgets +) + +#### Keys ignored in scope 1:.:.:qstyleoption.pro:: +# TEMPLATE = "app" diff --git a/tests/auto/widgets/styles/qstylesheetstyle/CMakeLists.txt b/tests/auto/widgets/styles/qstylesheetstyle/CMakeLists.txt index 608b7d299b..ca1a2ee062 100644 --- a/tests/auto/widgets/styles/qstylesheetstyle/CMakeLists.txt +++ b/tests/auto/widgets/styles/qstylesheetstyle/CMakeLists.txt @@ -1,9 +1,38 @@ -add_qt_test("tst_qstylesheetstyle" +# Generated from qstylesheetstyle.pro. + +if(NOT QT_FEATURE_private_tests) + return() +endif() + +##################################################################### +## tst_qstylesheetstyle Test: +##################################################################### + +add_qt_test(tst_qstylesheetstyle SOURCES - resources.qrc tst_qstylesheetstyle.cpp LIBRARIES - Qt::WidgetsPrivate Qt::GuiPrivate Qt::TestPrivate + Qt::WidgetsPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Widgets +) + +# Resources: +set(resources_resource_files + "images/testimage.png" + "images/testimage@2x.png" +) + +add_qt_resource(tst_qstylesheetstyle "resources" + PREFIX + "/" + FILES + ${resources_resource_files} ) + + +#### Keys ignored in scope 1:.:.:qstylesheetstyle.pro:: +# _REQUIREMENTS = "qtConfig(private_tests)" -- cgit v1.2.3