From a2dab1bda9b0e49a745b9070bd96bbe0d3a11ffc Mon Sep 17 00:00:00 2001 From: Matthias Rauter Date: Mon, 13 Feb 2023 12:54:34 +0100 Subject: [PATCH] Fix build issue in manual example qtabbar/stylesheet Pick-to: 6.5 Change-Id: Ibeb1a83ea74bea53e76990d7448552e33f3d875a Reviewed-by: Volker Hilsheimer --- tests/manual/qtabbar/main.cpp | 1 + .../widgets/widgets/qtabbar/CMakeLists.txt | 17 ++--------------- .../widgets/qtabbar/stylesheet/CMakeLists.txt | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 tests/manual/widgets/widgets/qtabbar/stylesheet/CMakeLists.txt diff --git a/tests/manual/qtabbar/main.cpp b/tests/manual/qtabbar/main.cpp index 01f3fe76741..33ec4b2b1bc 100644 --- a/tests/manual/qtabbar/main.cpp +++ b/tests/manual/qtabbar/main.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/manual/widgets/widgets/qtabbar/CMakeLists.txt b/tests/manual/widgets/widgets/qtabbar/CMakeLists.txt index 550eac7a6f7..56345e27976 100644 --- a/tests/manual/widgets/widgets/qtabbar/CMakeLists.txt +++ b/tests/manual/widgets/widgets/qtabbar/CMakeLists.txt @@ -1,17 +1,4 @@ -# Copyright (C) 2022 The Qt Company Ltd. +# Copyright (C) 2023 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from qtabbar.pro. - -##################################################################### -## qtabbar Binary: -##################################################################### - -qt_internal_add_manual_test(qtabbar - GUI - LIBRARIES - Qt::Gui -) - -#### Keys ignored in scope 1:.:.:qtabbar.pro:: -# SUBDIRS = "stylesheet" +add_subdirectory(stylesheet) diff --git a/tests/manual/widgets/widgets/qtabbar/stylesheet/CMakeLists.txt b/tests/manual/widgets/widgets/qtabbar/stylesheet/CMakeLists.txt new file mode 100644 index 00000000000..f0723ae3e13 --- /dev/null +++ b/tests/manual/widgets/widgets/qtabbar/stylesheet/CMakeLists.txt @@ -0,0 +1,15 @@ +# Copyright (C) 2023 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause + +##################################################################### +## qtabbar Binary: +##################################################################### + +qt_internal_add_manual_test(qtabbar + GUI + SOURCES + main.cpp + LIBRARIES + Qt::Gui + Qt::Widgets +)