qt5base-lts/examples/corelib/serialization
Edward Welbourne d75e772e22 RSS listing example: prefer setDevice() over addData(readAll())
The network reply is a QIODevice, so the QXmlStreamReader can be set
to read from it directly, which it might potentially do incrementally,
rather than by reading all the data in one go.

In the process, change the set-up of the reply to first check that it
got a valid URL, then check it got a reply, before doing things with
that reply.

Pick-to: 6.5
Task-number: QTBUG-111228
Change-Id: I3642e24e0d10721e4a0325b35a94dcb5dfbcd4e6
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2023-05-16 20:09:38 +02:00
..
cbordump Shrink the CBOR dumper example's image 2023-05-15 15:51:01 +02:00
convert Add metadata to serialization examples 2023-05-15 14:02:42 +02:00
rsslisting RSS listing example: prefer setDevice() over addData(readAll()) 2023-05-16 20:09:38 +02:00
savegame savegame example: clarify that CBOR can be read 2023-05-15 14:02:42 +02:00
streambookmarks Add metadata to serialization examples 2023-05-15 14:02:42 +02:00
CMakeLists.txt Move streambookmarks example into corelibe/serialization 2023-03-31 13:26:42 +02:00
serialization.pro Move streambookmarks example into corelibe/serialization 2023-03-31 13:26:42 +02:00