diff options
author | Topi Reinio <topi.reinio@qt.io> | 2024-01-23 09:28:54 +0000 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2024-01-25 08:51:59 +0000 |
commit | df3534c19098a587fbc0b957b57e2433cc15b7ca (patch) | |
tree | 57cdfbf8c792b1caeeadc353dae0ffbe467312eb /src/multimedia | |
parent | de674e0abfad4df4ea11daccd31a9b77b3010956 (diff) |
Doc: Fix documentation warnings
src/multimedia/video/qvideoframe.cpp:650: (qdoc) warning:
clang couldn't find function when parsing
\fn RotationAngle QVideoFrame::rotationAngle()
src/multimediaquick/qquickimagecapture.cpp:158: (qdoc) warning:
Undocumented parameter 'requestId' in ImageCapture::imageCaptured()
In addition, the 'warninglimit' variable in qtmultimedia.qdocconf was
not set correctly. Set it to zero to enforce no documentation warnings
in the CI.
Pick-to: 6.7
Change-Id: Ic9b4fcb3848d0035fe0da9ba68cd58b9ac2b3bad
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Diffstat (limited to 'src/multimedia')
-rw-r--r-- | src/multimedia/doc/qtmultimedia.qdocconf | 2 | ||||
-rw-r--r-- | src/multimedia/video/qvideoframe.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/doc/qtmultimedia.qdocconf b/src/multimedia/doc/qtmultimedia.qdocconf index 02f5e0503..5a16bddec 100644 --- a/src/multimedia/doc/qtmultimedia.qdocconf +++ b/src/multimedia/doc/qtmultimedia.qdocconf @@ -80,4 +80,4 @@ manifestmeta.highlighted.names = \ manifestmeta.highlighted.names += "QtMultimedia/QML Camera Application" # Fail the documentation build if there are more warnings than the limit -warninglimit += 0 +warninglimit = 0 diff --git a/src/multimedia/video/qvideoframe.cpp b/src/multimedia/video/qvideoframe.cpp index d2ffc0140..ba0be9c4f 100644 --- a/src/multimedia/video/qvideoframe.cpp +++ b/src/multimedia/video/qvideoframe.cpp @@ -648,7 +648,7 @@ void QVideoFrame::setEndTime(qint64 time) */ /*! - \fn RotationAngle QVideoFrame::rotationAngle() + \fn QVideoFrame::RotationAngle QVideoFrame::rotationAngle() const \deprecated [6.7] Use \c QVideoFrame::rotation instead. Returns the angle the frame should be rotated clockwise before displaying. |