qt6-bb10/tests/auto/corelib/serialization
Ivan Solovev cbc6ee0eb9 Deprecate QDataStream::readBytes(char *&, uint &) instead of removing it
We cannot remove the overload using QT_REMOVED_SINCE, because a qint64
lvalue in the new overload will not bind to an uint& parameter, so the
old code would not compile.

Deprecate the old overload, and add a unit-test that makes sure that
it still behaves correctly.

This commit also introduces the new deprecation macros that are
required to do the deprecation in Qt 6.11.

Amends fd48ce0b73

Found in 6.7 API review

Pick-to: 6.7
Change-Id: I02893bfbe040df736f8e746384e0261a0f0041d3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-02-07 15:02:19 +01:00
..
json Change license for tests files 2024-02-04 09:56:42 +01:00
qcborstreamreader Change license for tests files 2024-02-04 09:56:42 +01:00
qcborstreamwriter Change license for tests files 2024-02-04 09:56:42 +01:00
qcborvalue Change license for tests files 2024-02-04 09:56:42 +01:00
qcborvalue_json Change license for tests files 2024-02-04 09:56:42 +01:00
qdatastream Deprecate QDataStream::readBytes(char *&, uint &) instead of removing it 2024-02-07 15:02:19 +01:00
qdatastream_core_pixmap Change license for tests files 2024-02-04 09:56:42 +01:00
qtextstream Change license for tests files 2024-02-04 09:56:42 +01:00
qxmlstream Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt wasm tests: Disable unstable qcborvalue test 2023-11-23 19:26:49 +01:00
cborlargedatavalidation.cpp Change license for tests files 2024-02-04 09:56:42 +01:00