diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-05-16 10:44:34 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-06-01 09:09:49 +0200 |
commit | da4de6b6e361879993f834ed4c157d5bdba2c050 (patch) | |
tree | cb45136d2de1607cbebc3f52779accbd31946a66 /examples/vulkan/hellovulkanwidget/hellovulkanwidget.h | |
parent | 3c6c3eccd1f91bd1ae0a518318ef264f8eff63f5 (diff) |
Polish forward decl in vulkan and opengl examples
Pick-to: 6.5
Change-Id: I9f05aedc7649ab7e248b7332c04a6664e85182d8
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples/vulkan/hellovulkanwidget/hellovulkanwidget.h')
-rw-r--r-- | examples/vulkan/hellovulkanwidget/hellovulkanwidget.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/vulkan/hellovulkanwidget/hellovulkanwidget.h b/examples/vulkan/hellovulkanwidget/hellovulkanwidget.h index d545e68172..cbebe17f64 100644 --- a/examples/vulkan/hellovulkanwidget/hellovulkanwidget.h +++ b/examples/vulkan/hellovulkanwidget/hellovulkanwidget.h @@ -7,13 +7,11 @@ #include "../shared/trianglerenderer.h" #include <QWidget> -class VulkanWindow; +QT_FORWARD_DECLARE_CLASS(QTabWidget) +QT_FORWARD_DECLARE_CLASS(QPlainTextEdit) +QT_FORWARD_DECLARE_CLASS(QLCDNumber) -QT_BEGIN_NAMESPACE -class QTabWidget; -class QPlainTextEdit; -class QLCDNumber; -QT_END_NAMESPACE +class VulkanWindow; class MainWindow : public QWidget { |