Fix build issue in manual example qtabbar/stylesheet

Pick-to: 6.5
Change-Id: Ibeb1a83ea74bea53e76990d7448552e33f3d875a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Matthias Rauter 2023-02-13 12:54:34 +01:00 committed by Volker Hilsheimer
parent 32749c913b
commit a2dab1bda9
3 changed files with 18 additions and 15 deletions

View File

@ -4,6 +4,7 @@
#include <QApplication>
#include <QWidget>
#include <QStackedWidget>
#include <QMap>
#include <QTabBar>
#include <QLabel>
#include <QLayout>

View File

@ -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:<TRUE>:
# SUBDIRS = "stylesheet"
add_subdirectory(stylesheet)

View File

@ -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
)