From 03efe9a21bb7a879ae51e3ad007dd2cdb8c6d981 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 5 Mar 2025 13:08:00 +0100 Subject: [PATCH] Doc: fix documentation warning for QByteArray::fromCFData MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit \brief tags are not used for member function documentation. Explicitly set the prototype for qdoc instead, it doesn't seem to know what to do with the definition in an ObjectiveC file and produces link warnings. Pick-to: 6.9 6.9.0 Change-Id: I89252e7b84586e987ed6d950d90142e916d8f1df Reviewed-by: Tor Arne Vestbø --- src/corelib/kernel/qcore_foundation.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/corelib/kernel/qcore_foundation.mm b/src/corelib/kernel/qcore_foundation.mm index 9db1be44449..d99664311ef 100644 --- a/src/corelib/kernel/qcore_foundation.mm +++ b/src/corelib/kernel/qcore_foundation.mm @@ -26,7 +26,9 @@ QT_BEGIN_NAMESPACE /*! - \brief Constructs a new QByteArray containing a copy of the CFData \a data. + \fn QByteArray QByteArray::fromCFData(CFDataRef data) + + Constructs a new QByteArray containing a copy of the CFData \a data. \since 5.3 \ingroup platform-type-conversions