qt5base-lts/tests/auto/corelib
Ivan Solovev 24de000a9c QCursor: add missing QT_DEPRECATED_VERSION_X_6_0 for deprecated methods
When the method is wrapped into
 if QT_DEPRECATED_SINCE(MAJ, MIN)
we also need to add QT_DEPRECATED_VERSION_[X_]_MAJ_MIN macro right in
front of the method declaraion, to actually trigger a deprecation
warning.

This patch does that for QCursor's deprecated methods, and fixes all
related compilation warnings in QtBase.

Task-number: QTBUG-104857
Pick-to: 6.4 6.3 6.2
Change-Id: Ic8d059e8c852d4b2dee55e7ea94f4fc7a402cdf4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2022-07-21 19:59:07 +02:00
..
animation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
global function_ref test: Don't take reference of temporaries 2022-06-20 19:52:01 +00:00
io QProcess: skip processesInMultipleThreads test on emulators 2022-07-13 21:02:01 +02:00
itemmodels Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
kernel QVariant: Avoid crash when constructed from unsuitable metatype 2022-07-21 08:37:34 -07:00
mimetypes Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
platform Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
plugin Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
serialization QCursor: add missing QT_DEPRECATED_VERSION_X_6_0 for deprecated methods 2022-07-21 19:59:07 +02:00
text tst_QByteArray: fix custom QCOMPARE for QBAs > 2GiB 2022-07-20 12:56:18 +02:00
thread QMutex: limit moreStress test to idealThreadCount threads 2022-07-20 06:57:43 +02:00
time Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tools Increase timeout of slow test for ASAN-enabled build 2022-06-15 23:58:16 +02:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00