-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
21
-
cfb1596ef (dev), a145e1283 (6.10), 3782e6fb2 (6.9), 9431f48e9 (tqtc/lts-6.8), d129e4ae7 (tqtc/lts-6.5)
Let's be honest: the change from int to qsizetype sizes in Qt 6.0 was more than rushed. Half the API and a good chunk of implementation code is still using int when it should be using qsizetype, and we have been papering over this issue by making qMin() allow mixed-type arguments and, apparently, by removing the annoying MSVC warnings that, in Qt 5, so nicely pin-pointed all these implicit conversions as hard errors.
There were several real bugs in e.g. the QBuffer code corresponding to int/qsizetype, so there's probably more.
Acceptance criterium: every int has been inspected and, if needed, ported to qsizetype. Unfortunately, relying on compiler warnings isn't enough, as explicit casts won't raise warnings, but need to be ported nonetheless.
- depends on
-
QTBUG-105034 QDataStream cannot serialize containers > 2Gi elements
-
- Closed
-
For Gerrit Dashboard: QTBUG-103541 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
670561,6 | QJsonDocument/Value: fix integer truncation in fromJson(QByteArray) | dev | qt/qtbase | Status: MERGED | +2 | 0 |
670882,2 | QJsonDocument/Value: fix integer truncation in fromJson(QByteArray) | 6.10 | qt/qtbase | Status: MERGED | +2 | 0 |
671065,2 | QJsonDocument/Value: fix integer truncation in fromJson(QByteArray) | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
671143,4 | QJsonDocument/Value: fix integer truncation in fromJson(QByteArray) | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
671435,2 | QJsonDocument/Value: fix integer truncation in fromJson(QByteArray) | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |