qt6-bb10/tests/auto/corelib
Giuseppe D'Angelo 2097519b3e QDebug: do not trigger integer overflow when printing a QRect
QRect::width() and height() may overflow: they're only safe to call
when right-left+1 (or bottom-top+1) is representable by an `int`.
Therefore, avoiding calling them from QDebug, which is supposed to
"always work" (otherwise, it's not of great debugging help...).

QRectF does not have this issue as it stores the width directly.

Change-Id: I438dbacae42c17730afb92f05d16e3eebb161255
Pick-to: 6.5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 0f336500a0add3e3a8bb31c5cc605e5e13e23833)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 8232c837b02885b6e143e6982bda3ef19e4017fa)
2025-01-29 10:50:18 +00:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Android: Fix logging of the category 2024-11-26 20:37:15 +00:00
io tst_QProcess: remove duplicate DisableCrashLogger variable 2025-01-22 02:25:26 +00:00
ipc Add REUSE.toml files 2024-11-07 08:38:49 +01:00
itemmodels QConcatenateTablesProxyModel: react to row and column moves 2024-09-13 17:44:05 +00:00
kernel tst_Q*Application: add tests for unusual qApp creations and exits 2025-01-20 13:31:34 -08:00
mimetypes Add REUSE.toml files 2024-11-07 08:38:49 +01:00
platform Android: fix tst_android::testFullScreenDimensions() 2024-12-04 15:34:32 +00:00
plugin tst_QUuid: fix -Wreturn-type in make_minimal(QUuid::Version) 2025-01-25 14:21:25 +00:00
serialization Add REUSE.toml files 2024-11-07 08:38:49 +01:00
text Include more pruned likely-equivalent entries in QLocale::uiLanguages 2025-01-28 15:49:49 +01:00
thread Fix QtFuture::when{All,Any}() overload resolution 2025-01-02 19:19:36 +00:00
time Update CLDR to v46 2025-01-14 11:15:42 +01:00
tools QDebug: do not trigger integer overflow when printing a QRect 2025-01-29 10:50:18 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00