diff options
author | David Edmundson <davidedmundson@kde.org> | 2020-07-29 18:30:43 +0100 |
---|---|---|
committer | David Edmundson <davidedmundson@kde.org> | 2020-08-26 14:21:13 +0000 |
commit | 1ca2ddbc7dec378362107079c7f5e6e6c4a3879e (patch) | |
tree | 1620c0b645538b057e9ff62c83a9423218f47dc4 | |
parent | 585f20dce37c398d8b2e6367008e3329dac79e24 (diff) | |
download | qtwayland-1ca2ddbc7dec378362107079c7f5e6e6c4a3879e.tar.gz |
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>
-rw-r--r-- | src/client/qwaylandvulkaninstance_p.h | 11 | ||||
-rw-r--r-- | src/client/qwaylandvulkanwindow_p.h | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/client/qwaylandvulkaninstance_p.h b/src/client/qwaylandvulkaninstance_p.h index 3f565ed2..08246c4d 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 3fd394e6..442b6769 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" |