Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8
-
None
-
13
-
23dfacb17 (dev), ef5cba01f (6.7), d61060dab (dev), 0b3543472 (tqtc/lts-6.5)
-
Foundation Sprint 107, Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111
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-126055 [REG SiC 6.4 -> 6.5] QString::arg(qfloat16{}) is ambiguous if QFLOAT16_IS_NATIVE
- In Progress
-
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-125730 QAnyStringView('\xE4') creates an invalid UTF-8 string (expected: valid L1)
- In Review
-
QTBUG-126053 QString::arg(u8' ') prefers the integral, not the QChar overload, when built in C++20
- In Review
-
QTBUG-126054 QString::arg(wchar_t{}) prefers the integral overload instead of the QChar one
- 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 |
562881,8 | QString: toward UTF-8 arg() support [2/4]: port pattern to QAnyStringView | dev | qt/qtbase | Status: NEW | 0 | 0 |
562882,9 | QString: toward UTF-8 arg() support [3/4]: add Q{Any,Uftf8}StringView::arg() | dev | qt/qtbase | Status: NEW | 0 | 0 |
562883,11 | QString: toward UTF-8 arg() support [4/4]: accept QAnyStringViews (incl. UTF-8 ones) | dev | qt/qtbase | Status: NEW | 0 | 0 |
303707,10 | Port ex-multiArg() to QAnyStringView | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
562862,5 | QString: replace homebrew toString() with the Real Deal™ | dev | qt/qtbase | Status: MERGED | +2 | 0 |
562880,7 | QString: toward UTF-8 arg() support [1/4]: port Part to QAnyStringView | dev | qt/qtbase | Status: MERGED | +2 | 0 |
562971,2 | QString: replace homebrew toString() with the Real Deal™ | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
563113,2 | QString: replace homebrew toString() with the Real Deal™ | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |