summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkanwidget
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-01-30 14:32:42 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-01 20:52:02 +0000
commitd4c76a683f684541d3c110d0f496493bcea28ded (patch)
tree9e44b51b006bdf1c21e6f39d8557246d32ab35ef /examples/vulkan/hellovulkanwidget
parent379649dd8bb7b0d68dbf81b215be50a7dcc3f49a (diff)
Examples: Add missing include guards
Task-number: QTBUG-109394 Change-Id: I09a1b522d0faeb2346e1e075141f1e810c8155f7 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> (cherry picked from commit ddb94dd7927126978fc2a620ebd91954e2f96862) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/vulkan/hellovulkanwidget')
-rw-r--r--examples/vulkan/hellovulkanwidget/hellovulkanwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/vulkan/hellovulkanwidget/hellovulkanwidget.h b/examples/vulkan/hellovulkanwidget/hellovulkanwidget.h
index f4bcd5bb58..d545e68172 100644
--- a/examples/vulkan/hellovulkanwidget/hellovulkanwidget.h
+++ b/examples/vulkan/hellovulkanwidget/hellovulkanwidget.h
@@ -1,6 +1,9 @@
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+#ifndef HELLOVULKANWIDGET_H
+#define HELLOVULKANWIDGET_H
+
#include "../shared/trianglerenderer.h"
#include <QWidget>
@@ -51,3 +54,5 @@ signals:
void vulkanInfoReceived(const QString &text);
void frameQueued(int colorValue);
};
+
+#endif // HELLOVULKANWIDGET_H