diff options
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r-- | tests/auto/widgets/styles/qmacstyle/CMakeLists.txt | 16 | ||||
-rw-r--r-- | tests/auto/widgets/styles/qstyleoption/CMakeLists.txt | 17 | ||||
-rw-r--r-- | tests/auto/widgets/styles/qstylesheetstyle/CMakeLists.txt | 35 |
3 files changed, 63 insertions, 5 deletions
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:<TRUE>: +# 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:<TRUE>: +# _REQUIREMENTS = "qtConfig(private_tests)" |