From 705837771cf08177b10206c0a53752611804a4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 7 Oct 2020 15:05:08 +0200 Subject: Add a few missing Q_CLANG_QDOC for native interfaces Change-Id: I5dbe2f7e7c03fb0a130b2da373f6f6a642d57575 Reviewed-by: Paul Wicking --- src/gui/kernel/qoffscreensurface_platform.h | 2 +- src/gui/kernel/qopenglcontext_platform.h | 2 +- src/gui/kernel/qplatformscreen_p.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui') 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) -- cgit v1.2.3