[Development] QString and related changes for Qt 6

Thiago Macieira thiago.macieira at intel.com
Tue May 12 22:33:51 CEST 2020


On Tuesday, 12 May 2020 02:04:35 PDT Tor Arne Vestbø wrote:
> 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?

We've been doing that since 5.0.

But UTF-8 to UTF-16 requires a conversion. u"" wouldn't and in some cases, we 
would be able to use it without memory allocations either -- that is, 
QStringLiteral().

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Development mailing list