is it possible to convert a QString to quint8?
if yes how?
is it possible to convert a QString to quint8?
if yes how?
i tried the following
the output wasQt Code:
quint8 ijk; bool ok; ijk=s.toUInt(&ok,10); cout<<"ijk"<<ijk<<endl;To copy to clipboard, switch view to plain text mode
Try this
ijk=s.toUtf8().at(0);
i have this problem also...
how did you solve that? because the solution here does not working.
Bookmarks