On Monday, 17 March 2025 13:39:42 Pacific Daylight Time Mathias Hasselmann via 
Development wrote:
> To avoid bloating you code with QString{}, QStringLiteral{} or
> QLatin1String{} boilerplate after enabling QT_NO_CAST_FROM_ASCII you
> also might consider using UTF-16 string literals (u"your text") and you
> might want to use the Qt::StringLiterals namespace.

Indeed, it is much nicer to write:
  "latin1 or ascii text"_L1
  u"any text"_s

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to