I need to get the ASCII code from a QChar.
In Qt 5.2 QChar::ToAscii has been removed.
Here is my code. How can I get the ASCII code?
QString data;
int key;
key = data.at(i);
I need to get the ASCII code from a QChar.
In Qt 5.2 QChar::ToAscii has been removed.
Here is my code. How can I get the ASCII code?
QString data;
int key;
key = data.at(i);