[Development] Qt6: Adding UTF-8 storage support to QString

Edward Welbourne edward.welbourne at qt.io
Wed Jan 16 11:09:28 CET 2019

Marco Bubke (16 January 2019 10:59)
> You can use std::string which as small string optimization instead of
> QByteArray too. In many cases where you would use const String &foo
> you can use std::string_view, so you are more flexible.

Note that we now have a QStringView, which can likewise replace many
uses of const QString & - not that this is any help with UTF-8.
Uptake has been slow, but some of us are using it.


More information about the Development mailing list