summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2020-04-23 16:08:50 +0100
committerMike Krus <mike.krus@kdab.com>2020-04-24 09:50:51 +0100
commitbffb0650bc1ecea9c0a24d5c47a5adbccaada27a (patch)
treeaf442796393d8736d8adc05e6203cd6420e4bcd8
parent3a0d77e22af912129612f8c06855093d57246070 (diff)
Add missing private warning
Change-Id: I2cfed2e2645a0b6ed0a7ba9362873436c7a66980 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--src/render/surfaces/vulkaninstance_p.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/render/surfaces/vulkaninstance_p.h b/src/render/surfaces/vulkaninstance_p.h
index f46939ce6..67f52af6a 100644
--- a/src/render/surfaces/vulkaninstance_p.h
+++ b/src/render/surfaces/vulkaninstance_p.h
@@ -40,9 +40,22 @@
#ifndef QT3DRENDER_VULKANINSTANCE_P_H
#define QT3DRENDER_VULKANINSTANCE_P_H
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists for the convenience
+// of other Qt classes. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
#include <QtGui/qtguiglobal.h>
#include <Qt3DRender/private/qt3drender_global_p.h>
+
QT_BEGIN_NAMESPACE
+
#if QT_CONFIG(vulkan)
class QVulkanInstance;
namespace Qt3DRender {
@@ -50,6 +63,7 @@ Q_3DRENDERSHARED_PRIVATE_EXPORT
QVulkanInstance& staticVulkanInstance() noexcept;
} // Qt3DRender
#endif
+
QT_END_NAMESPACE
#endif // QT3DRENDER_VULKANINSTANCE_P_H