summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Edmundson <davidedmundson@kde.org>2020-07-29 18:30:43 +0100
committerDavid Edmundson <davidedmundson@kde.org>2020-08-26 14:21:13 +0000
commit1ca2ddbc7dec378362107079c7f5e6e6c4a3879e (patch)
tree1620c0b645538b057e9ff62c83a9423218f47dc4 /src
parent585f20dce37c398d8b2e6367008e3329dac79e24 (diff)
Client: Add warning about private headers to vulkan header files
Pick-to 5.15 Change-Id: Ie13fb1ba31efd8e12fd502b3f37363ed341be2d6 Reviewed-by: Kai Uwe Broulik <kde@privat.broulik.de> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/client/qwaylandvulkaninstance_p.h11
-rw-r--r--src/client/qwaylandvulkanwindow_p.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/src/client/qwaylandvulkaninstance_p.h b/src/client/qwaylandvulkaninstance_p.h
index 3f565ed24..08246c4dc 100644
--- a/src/client/qwaylandvulkaninstance_p.h
+++ b/src/client/qwaylandvulkaninstance_p.h
@@ -40,6 +40,17 @@
#ifndef QWAYLANDVULKANINSTANCE_P_H
#define QWAYLANDVULKANINSTANCE_P_H
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
#if defined(VULKAN_H_) && !defined(VK_USE_PLATFORM_WAYLAND_KHR)
#error "vulkan.h included without Wayland WSI"
#endif
diff --git a/src/client/qwaylandvulkanwindow_p.h b/src/client/qwaylandvulkanwindow_p.h
index 3fd394e62..442b67690 100644
--- a/src/client/qwaylandvulkanwindow_p.h
+++ b/src/client/qwaylandvulkanwindow_p.h
@@ -40,6 +40,17 @@
#ifndef QWAYLANDVULKANWINDOW_P_H
#define QWAYLANDVULKANWINDOW_P_H
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
#include "qwaylandwindow_p.h"
#include "qwaylandvulkaninstance_p.h"