summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlog.cpp
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2024-10-31 13:45:42 +0100
committerMarc Mutz <[email protected]>2025-06-30 17:45:40 +0000
commite9f91f049cb710b97d50a12306eca577be09b6ab (patch)
tree661923389a419b20b72ac06116ce87aeb7d45537 /src/testlib/qtestlog.cpp
parent6b968b3f1393fa510d93a5e7e63a20648ad8baae (diff)
QAnyStringView: support single wchar_t arguments also on UnixHEADdev
We support char32_t, so there's no reason to not support a 4-byte-wchar_t. This also fixes a nasty asymmery between QString::arg(L'ä') (integral output) and QL1SV::arg(L'ä') or QString::arg(L'ä', L'ä') (characters) [ChangeLog][Important Behavior Changes][QtCore][QString] The unary arg() function now treats wchar_t as a character (string-like; was: integer), so u"%1".arg(L'ø') will now return "ø" and not '248". This makes the function consistent with both QString multi-arg() and QLatin1StringView::arg(). [ChangeLog][QtCore][QAnyStringView] Supports construction from a single wchar_t on all platforms now (was: only on Windows). Fixes: QTBUG-126054 Pick-to: 6.10 Change-Id: I21b7a9782f03d04686207db30d1b1c9d50bc8169 Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/testlib/qtestlog.cpp')
0 files changed, 0 insertions, 0 deletions