qt6-bb10/examples/corelib/serialization/rsslisting
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
..
CMakeLists.txt Move rsslisting example into corelibe/serialization 2023-03-21 14:49:09 +01:00
main.cpp rsslisting example: move default URL to main() 2023-05-15 14:02:45 +02:00
rsslisting.cpp RSS listing example: prefer setDevice() over addData(readAll()) 2023-05-16 20:09:38 +02:00
rsslisting.h rsslisting example: move default URL to main() 2023-05-15 14:02:45 +02:00
rsslisting.pro Move rsslisting example into corelibe/serialization 2023-03-21 14:49:09 +01:00