diff --git a/src/gui/doc/src/qtgui.qdoc b/src/gui/doc/src/qtgui.qdoc index 4ea352323ac..2a1d69d4d3d 100644 --- a/src/gui/doc/src/qtgui.qdoc +++ b/src/gui/doc/src/qtgui.qdoc @@ -14,6 +14,23 @@ The \l{Qt GUI} page contains information about how to use the module. */ +/*! + \module QtGuiPrivate + \title Qt GUI Private C++ Classes + \qtcmakepackage Gui + \qtvariable gui-private + + \brief Provides access to private GUI functionality. + + Use the following CMake commands in your \c {CMakeLists.txt} to access + private Qt GUI APIs: + + \badcode + find_package(Qt6 REQUIRED COMPONENTS Gui) + target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) + \endcode +*/ + /*! \page qtgui-index.html \title Qt GUI diff --git a/src/gui/rhi/qrhi.cpp b/src/gui/rhi/qrhi.cpp index e873e980ffe..5f94250bc16 100644 --- a/src/gui/rhi/qrhi.cpp +++ b/src/gui/rhi/qrhi.cpp @@ -29,7 +29,8 @@ Q_LOGGING_CATEGORY(QRHI_LOG_INFO, "qt.rhi.general") /*! \class QRhi \ingroup painting-3D - \inmodule QtGui + \inmodule QtGuiPrivate + \inheaderfile rhi/qrhi.h \since 6.6 \brief Accelerated 2D/3D graphics API abstraction.