From da4de6b6e361879993f834ed4c157d5bdba2c050 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 16 May 2023 10:44:34 +0200 Subject: Polish forward decl in vulkan and opengl examples Pick-to: 6.5 Change-Id: I9f05aedc7649ab7e248b7332c04a6664e85182d8 Reviewed-by: Laszlo Agocs Reviewed-by: Andy Nichols --- examples/vulkan/hellovulkancubes/mainwindow.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'examples/vulkan/hellovulkancubes') diff --git a/examples/vulkan/hellovulkancubes/mainwindow.h b/examples/vulkan/hellovulkancubes/mainwindow.h index 2e931c1a52..8ecb0002e7 100644 --- a/examples/vulkan/hellovulkancubes/mainwindow.h +++ b/examples/vulkan/hellovulkancubes/mainwindow.h @@ -6,12 +6,10 @@ #include -QT_BEGIN_NAMESPACE -class QLCDNumber; -class QLabel; -class QPushButton; -class QCheckBox; -QT_END_NAMESPACE +QT_FORWARD_DECLARE_CLASS(QLCDNumber) +QT_FORWARD_DECLARE_CLASS(QLabel) +QT_FORWARD_DECLARE_CLASS(QPushButton) +QT_FORWARD_DECLARE_CLASS(QCheckBox) class VulkanWindow; -- cgit v1.2.3