Document which header to include for the various native interfaces

Fixes: QTBUG-98654
Pick-to: 6.2
Change-Id: Ic5ea3cc7d90ed336a5b6e827d1523bdd58fabc13
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Tor Arne Vestbø 2021-12-02 17:26:33 +01:00
parent cdc3de6c84
commit b89608dcf8
2 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,7 @@ using namespace QNativeInterface::Private;
Accessed through QOpenGLContext::nativeInterface().
\inmodule QtGui
\inheaderfile QOpenGLContext
\ingroup native-interfaces
\ingroup native-interfaces-qopenglcontext
*/
@ -122,6 +123,7 @@ QOpenGLContext *QNativeInterface::QGLXContext::fromNative(GLXContext visualBased
Accessed through QOpenGLContext::nativeInterface().
\inmodule QtGui
\inheaderfile QOpenGLContext
\ingroup native-interfaces
\ingroup native-interfaces-qopenglcontext
*/
@ -199,6 +201,7 @@ QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QXcbWindow);
Accessed through QGuiApplication::nativeInterface().
\inmodule QtGui
\inheaderfile QGuiApplication
\ingroup native-interfaces
\ingroup native-interfaces-qguiapplication
*/

View File

@ -60,6 +60,7 @@ using namespace QNativeInterface::Private;
Accessed through QOpenGLContext::nativeInterface().
\inmodule QtGui
\inheaderfile QOpenGLContext
\ingroup native-interfaces
\ingroup native-interfaces-qopenglcontext
*/