Doc: QPicture uses QDataStream, forward warning against untrusted data

Make this explicit, with a link.

Pick-to: 6.8
Change-Id: I8b8b64c88daacba43df1eecf5a347c0a89d837e1
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit ca26e804501d0fba45b703e281f48b3e90584335)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Eirik Aavitsland 2025-03-10 14:39:53 +01:00 committed by Qt Cherry-pick Bot
parent 2b5e55e161
commit 3e2fcff478

View File

@ -69,6 +69,10 @@ void qt_format_text(const QFont &fnt, const QRectF &_r,
picture is available, for example, size(), isNull() and
boundingRect().
\note QPicture uses QDataStream for serialization. The
\l {QDataStream#Corruption and Security}{same reservations} against
reading untrusted data apply.
\sa QMovie
*/