qt6-bb10/tests/auto/corelib
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
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Change license for tests files 2024-02-04 09:56:42 +01:00
io Remove extra semi-colons 2024-02-06 20:17:18 +09:00
ipc Change license for tests files 2024-02-04 09:56:42 +01:00
itemmodels Change license for tests files 2024-02-04 09:56:42 +01:00
kernel QObject: fix installEventFilterOrder() test flakiness 2024-02-04 18:33:37 +01:00
mimetypes Change license for tests files 2024-02-04 09:56:42 +01:00
platform Change license for tests files 2024-02-04 09:56:42 +01:00
plugin Remove extra semi-colons 2024-02-06 20:17:18 +09:00
serialization Deprecate QDataStream::readBytes(char *&, uint &) instead of removing it 2024-02-07 15:02:19 +01:00
text Remove extra semi-colons 2024-02-06 20:17:18 +09:00
thread Change license for tests files 2024-02-04 09:56:42 +01:00
time Rework tst_QTimeZone::windowsId() to use initializer-lists 2024-02-05 23:12:59 +01:00
tools Remove extra semi-colons 2024-02-06 20:17:18 +09:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00