QString str("bla bla bla");
#define _L8(aString) QString::fromUtf8(aString, sizeof(aString) - 1)#define _L16(aString) QString::fromWCharArray(L##aString, sizeof(L##aString) / 4 - 1)
QString::fromUtf8("bla bla bla", sizeof("bla bla bla") - 1);QString::fromWCharArray(L"bla bla bla", sizeof(L"bla bla bla") / 4 -1);
#define _L16(aString) QString::fromUtf16(reinterpret_cast<const ushort*>(u##aString), sizeof(u##aString) / sizeof(char16_t) - 1)#define _L8(aString) QByteArray(aString, sizeof(aString) / sizeof(char) - 1)