From abf17c296530570cf83d28ddc59ed7d8a45a7349 Mon Sep 17 00:00:00 2001 From: Andreas Eliasson Date: Wed, 7 Aug 2024 12:24:49 +0200 Subject: [PATCH] Doc: Use class and scope resolution operator to fix qdoc link warnings Qdoc produces link warnings when trying to link to a member of a class that is different from the current function's class. Prepending the link target, in this case a member of a class, with class and the scope resolution operator fixes the qdoc link warnings. Change-Id: I89488ff6a12f2ce3ac4397eab407e09db7ff93a2 Reviewed-by: Paul Wicking --- src/gui/rhi/qrhi.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gui/rhi/qrhi.cpp b/src/gui/rhi/qrhi.cpp index 1f5be494525..698b3bdeaa3 100644 --- a/src/gui/rhi/qrhi.cpp +++ b/src/gui/rhi/qrhi.cpp @@ -2764,10 +2764,10 @@ QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(const QRh matching the texture set via setDepthTexture(). \note Resolving depth (or depth-stencil) data is only functional when the - \l ResolveDepthStencil feature is reported as supported at run time. Support - for depth-stencil resolve is not universally available among the graphics - APIs. Designs assuming unconditional availability of depth-stencil resolve - are therefore non-portable, and should be avoided. + \l QRhi::ResolveDepthStencil feature is reported as supported at run time. + Support for depth-stencil resolve is not universally available among the + graphics APIs. Designs assuming unconditional availability of depth-stencil + resolve are therefore non-portable, and should be avoided. \note As an additional limitation for OpenGL ES in particular, setting a depth resolve texture may only be functional in combination with @@ -4743,7 +4743,7 @@ void QRhiTexture::setNativeLayout(int layout) is used as the texture itself, and in most cases this function does not need to be called. - This setting is only taken into account when the \l TextureViewFormat + This setting is only taken into account when the \l QRhi::TextureViewFormat feature is reported as supported. \note This functionality is provided to allow "casting" between @@ -4781,7 +4781,7 @@ void QRhiTexture::setNativeLayout(int layout) with a ViewFormat that has a format of QRhiTexture::RGBA8 and \c srgb set to \c false). - This setting is only taken into account when the \l TextureViewFormat + This setting is only taken into account when the \l QRhi::TextureViewFormat feature is reported as supported. \note This functionality is provided to allow "casting" between