[Development] QString and related changes for Qt 6

Lars Knoll lars.knoll at qt.io
Tue May 12 12:02:07 CEST 2020

> On 12 May 2020, at 11:04, Tor Arne Vestbø <Tor.arne.Vestbo at qt.io> wrote:
>> On 12 May 2020, at 09:49, Lars Knoll <lars.knoll at qt.io> wrote:
>> * Our QLatin1String uses are in most cases about pure ASCII strings. In any case, we should consider mass porting them over to u”…” instead.
> During the contributor summit we were talking about just assuming “foo” is utf-8, now that our source code is utf-8. Is that not possible? 

It is, but we’d need to copy the data to create a QString. With 16bit data, we could avoid many of the copies.


More information about the Development mailing list