Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.6, 6.6.3, 6.7.1, 6.8.0 FF
-
None
-
5
-
967736b96 (dev), 9a95c4ba4 (6.8), 88e94df35 (6.7), fe5b07d20 (tqtc/lts-6.5), fafa568a6 (tqtc/lts-6.2), 563ed822f (dev)
-
Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111, Foundation Sprint 112, Foundation Sprint 113, Foundation Sprint 114, Foundation Sprint 115, Foundation Sprint 116, Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119, Foundation Sprint 120, Foundation Sprint 121
Description
QString fmt = "%1"; assert(fmt.arg(qfloat16(4.125f)) == "4.125"); // ERROR: ambiguous (when QFLOAT16_IS_NATIVE)
It works when !QFLOAT16_IS_NATIVE, in particular, before Qt 6.5. This is similar to QTBUG-116064.
Attachments
Issue Links
- resulted from
-
QTBUG-124365 Port QString::arg() to QAnyStringView
- Closed
For Gerrit Dashboard: QTBUG-126055 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
564066,13 | QString: toward UTF-8 arg() support [3½/4]: port unary arg() to QAnyStringView | dev | qt/qtbase | Status: MERGED | +2 | 0 |
565632,6 | tst_QString: extend unary arg() checks even further | dev | qt/qtbase | Status: MERGED | +2 | +1 |
566565,2 | tst_QString: extend unary arg() checks even further | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
566770,2 | tst_QString: extend unary arg() checks even further | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
566985,2 | tst_QString: extend unary arg() checks even further | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
567038,5 | tst_QString: extend unary arg() checks even further | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | +1 |