Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8
-
None
-
13
-
23dfacb17 (dev), ef5cba01f (6.7), d61060dab (dev), 0b3543472 (tqtc/lts-6.5), cf8b9c1f6 (dev), 2c8302682 (dev), b8500f3ef (dev)
-
Foundation Sprint 107, Foundation Sprint 108, 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
Description
`QString.arg` supports multiple string formats, but not QUtf8StringView:
QStringLiteral("yada %1").arg(QUtf8StringView(u8"yada"));
it would be great if this would be supported
Attachments
Issue Links
- relates to
-
QTBUG-92021 QUtf8StringView should have the same functions as QStringView 1/2 - non-owning return types
- Open
- resulted in
-
QTBUG-126054 QString::arg(wchar_t{}) prefers the integral overload instead of the QChar one
- In Progress
-
QTBUG-125730 QAnyStringView('\xE4') creates an invalid UTF-8 string (expected: valid L1)
- Closed
-
QTBUG-125735 [REG 6.4→6.5] QAnyStringView(char-ish) has become slow
- Closed
-
QTBUG-125588 QString::arg(char16_t{}) prefers the integral, not the QChar overload
- In Review
-
QTBUG-126053 QString::arg(u8' ') prefers the integral, not the QChar overload, when built in C++20
- In Review
-
QTBUG-126055 [REG SiC 6.4 -> 6.5] QString::arg(qfloat16{}) is ambiguous if QFLOAT16_IS_NATIVE
- In Review
-
QTBUG-125871 Add QT_NO_USHORT_STRINGS and make all of Qt build with it set.
- Open
-
QTBUG-125873 Add non-multi QString::arg() calls to view classes
- Open
Gerrit Reviews
For Gerrit Dashboard: QTBUG-124365 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
562883,14 | QString: toward UTF-8 arg() support [4/4]: accept QAnyStringViews (incl. UTF-8 ones) | dev | qt/qtbase | Status: NEW | +2 | 0 |