diff options
author | Øystein Heskestad <oystein.heskestad@qt.io> | 2023-10-04 13:59:06 +0200 |
---|---|---|
committer | Øystein Heskestad <oystein.heskestad@qt.io> | 2023-10-23 15:10:28 +0200 |
commit | fd48ce0b73c74dafd5db27bc1f2752ef665df7ef (patch) | |
tree | 086f986f7befe9a0cb40f88f04c28a0c07293939 /tests/manual/corelib/qdatastream/qdatastream.pro | |
parent | 0d413506a1b019efecff41318a9134d79f2abcd1 (diff) |
Add support for containers > 4 Gi elements in QDataStream
The format is changed from 6.7 to support more than UINT32_MAX - 1
elements. The format used to have a quint32 size. Now if the size is
larger or equal to 0xfffffffe (2^32 -2) the old size is an extend
value 0xfffffffe followed by one quint64 with the actual value. The
32 bit size with all bits set is still used as null value.
Fixes: QTBUG-105034
Change-Id: I62188be170fe779022ad58ab84a54b1eaf46e5d9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/manual/corelib/qdatastream/qdatastream.pro')
-rw-r--r-- | tests/manual/corelib/qdatastream/qdatastream.pro | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/corelib/qdatastream/qdatastream.pro b/tests/manual/corelib/qdatastream/qdatastream.pro new file mode 100644 index 0000000000..9143f62851 --- /dev/null +++ b/tests/manual/corelib/qdatastream/qdatastream.pro @@ -0,0 +1,6 @@ +CONFIG += testcase + +SOURCES += tst_manualqdatastream.cpp +QT = core testlib + +TARGET = tst_manual_qdatastream |