diff options
author | Tor Arne Vestbø <[email protected]> | 2020-10-07 15:05:08 +0200 |
---|---|---|
committer | Tor Arne Vestbø <[email protected]> | 2020-10-13 16:39:32 +0200 |
commit | 705837771cf08177b10206c0a53752611804a4b0 (patch) | |
tree | 82d297a8f48f6018373894c45fe31ba26e5e14ed | |
parent | 13b4c332b4a49c01c8a10e349990df98585e73fe (diff) |
Add a few missing Q_CLANG_QDOC for native interfaces
Change-Id: I5dbe2f7e7c03fb0a130b2da373f6f6a642d57575
Reviewed-by: Paul Wicking <[email protected]>
-rw-r--r-- | src/gui/kernel/qoffscreensurface_platform.h | 2 | ||||
-rw-r--r-- | src/gui/kernel/qopenglcontext_platform.h | 2 | ||||
-rw-r--r-- | src/gui/kernel/qplatformscreen_p.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qoffscreensurface_platform.h b/src/gui/kernel/qoffscreensurface_platform.h index a122891ee47..f95b606dba0 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 c498c19437b..80a29a10219 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 340f637dd96..53ce9e251f1 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) |