hi
how to convert QByteArray to QString
hi
how to convert QByteArray to QString
yes it is possible to convert QString to QByteArray
QByteArray block(string.toAscii());
but i want QByteArray to QString
i have searched for QString in QByteArray docs but not found any solution
Look closer.
QString myString(myByteArray); constructor QString(const QByteArray &ba)
or you can use QString::fromAscii() etc.
azalea (23rd January 2017), babu198649 (6th December 2007), tablebubble (21st April 2011)
thank u durbrak it worked
ok thanks jpn any have i got solution
Bookmarks