summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-10-07 15:05:08 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-10-13 16:39:32 +0200
commit705837771cf08177b10206c0a53752611804a4b0 (patch)
tree82d297a8f48f6018373894c45fe31ba26e5e14ed /src/gui
parent13b4c332b4a49c01c8a10e349990df98585e73fe (diff)
Add a few missing Q_CLANG_QDOC for native interfaces
Change-Id: I5dbe2f7e7c03fb0a130b2da373f6f6a642d57575 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qoffscreensurface_platform.h2
-rw-r--r--src/gui/kernel/qopenglcontext_platform.h2
-rw-r--r--src/gui/kernel/qplatformscreen_p.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qoffscreensurface_platform.h b/src/gui/kernel/qoffscreensurface_platform.h
index a122891ee4..f95b606dba 100644
--- a/src/gui/kernel/qoffscreensurface_platform.h
+++ b/src/gui/kernel/qoffscreensurface_platform.h
@@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
namespace QNativeInterface {
-#if defined(Q_OS_ANDROID)
+#if defined(Q_OS_ANDROID) || defined(Q_CLANG_QDOC)
struct Q_GUI_EXPORT QAndroidOffscreenSurface
{
QT_DECLARE_NATIVE_INTERFACE(QAndroidOffscreenSurface)
diff --git a/src/gui/kernel/qopenglcontext_platform.h b/src/gui/kernel/qopenglcontext_platform.h
index c498c19437..80a29a1021 100644
--- a/src/gui/kernel/qopenglcontext_platform.h
+++ b/src/gui/kernel/qopenglcontext_platform.h
@@ -95,7 +95,7 @@ struct Q_GUI_EXPORT QGLXContext
};
#endif
-#if QT_CONFIG(egl)
+#if QT_CONFIG(egl) || defined(Q_CLANG_QDOC)
struct Q_GUI_EXPORT QEGLContext
{
QT_DECLARE_NATIVE_INTERFACE(QEGLContext)
diff --git a/src/gui/kernel/qplatformscreen_p.h b/src/gui/kernel/qplatformscreen_p.h
index 340f637dd9..53ce9e251f 100644
--- a/src/gui/kernel/qplatformscreen_p.h
+++ b/src/gui/kernel/qplatformscreen_p.h
@@ -69,7 +69,7 @@ public:
namespace QNativeInterface::Private {
-#if QT_CONFIG(xcb)
+#if QT_CONFIG(xcb) || defined(Q_CLANG_QDOC)
struct Q_GUI_EXPORT QXcbScreen
{
QT_DECLARE_NATIVE_INTERFACE(QXcbScreen)
@@ -77,7 +77,7 @@ struct Q_GUI_EXPORT QXcbScreen
};
#endif
-#if QT_CONFIG(vsp2)
+#if QT_CONFIG(vsp2) || defined(Q_CLANG_QDOC)
struct Q_GUI_EXPORT QVsp2Screen
{
QT_DECLARE_NATIVE_INTERFACE(QVsp2Screen)