1

Topic: wchar_t* to QString

Nobody prompts why in QString there is no designer of type QString (const wchar_t *). It would be desirable to work with  constants and to do something of type: QLabel* label = new QLabel (L "Label Name"...); And it is necessary: QLabel* label = new QLabel (QStringLiteral (L "Label Name")...); or QLabel* label = new QLabel (QString:: fromWCharArray (L "Label Name")...); Or it is possible somehow differently? Thanks.

2

Re: wchar_t* to QString

Hello, HolyNick, you wrote: HN> Or it is possible somehow differently? HN> Thanks. Source codes utf8+BOM, string literal, u8, u, U QMessageBox:: critical (this, u8 "Error", u8 "");