qtbase/examples/corelib/serialization
Marc Mutz 4fe9b799ba savegame ex.: revamp the way print() works
Basically, instead of re-creating QTextStreams all the time, create it
once, in main(), and then pass it to print() alongside the int
indentation.

Also fix a hard-coded indentation value that should have been relative
to the caller's indentation level.

Task-number: QTBUG-108857
Change-Id: I811447295c9c3fdef23f61aff31ebe82941eb3b4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 6f1e53943d)
2023-05-11 15:31:44 +02:00
..
cbordump Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 17:41:02 +00:00
convert Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 17:41:02 +00:00
savegame savegame ex.: revamp the way print() works 2023-05-11 15:31:44 +02:00
CMakeLists.txt Build examples in isolated sub-builds using ExternalProject 2021-05-26 13:33:29 +02:00
serialization.pro Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00