qt5base-lts/examples/corelib/serialization
Edward Welbourne 6a7b7272cd Deduplicate code in setup of serialization converters
The setup of the input and output converters is fairly complex but was
made harder to read by nearly-duplicating its logic for input and for
output. Break out into a separate function to make clear what parts
differ between the two and what parts don't. In the process, allow the
search for a named converter to continue past a match that doesn't
support the needed direction, on the off chance of a name collision.
Make an error message more articulate in the process.

Pick-to: 6.6 6.5
Task-number: QTBUG-111228
Change-Id: I2a9de8b406c538098076f388fc8a1980b91fe16b
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2023-09-28 15:33:04 +02:00
..
cbordump corelib/serialization examples: clang-tidy and coding style clean-up 2023-09-08 18:17:37 +02:00
convert Deduplicate code in setup of serialization converters 2023-09-28 15:33:04 +02:00
savegame Make \brief of Saving a Game to File actually brief 2023-09-11 17:56:51 +02:00
streambookmarks corelib/serialization examples: clang-tidy and coding style clean-up 2023-09-08 18:17:37 +02:00
CMakeLists.txt Exclude some examples from Android build 2023-08-28 16:00:45 +03:00
serialization.pro Move RSS listing example to networking 2023-06-14 11:57:31 +02:00