Hi, I'm doing the following conversion:
wchar_t buffer[5];
QString string = QString::fromWCharArray(buffer);
char *utf8encoded = string.toUtf8();
But it seems to give me the following error:
'initializing': conversion of 'QByteArray' can not be performed 'char *' No conversion operator is available defined by the user who can perform this conversion, or can not call the operator
I followed the documentation but I still have the same error ...