I have a qulonglong variable and I need to convert it into QChar.
For example, from number 65 I should get ‘A’.
Or if there is a solution to make that directly into QString would be good too.
I have a qulonglong variable and I need to convert it into QChar. For
Share
Qhat you need is the
QCharconstructor.Notice that
QCharprovides 16 bit characters:qlonglongis an 64 bit integer so you should be very careful with the conversion toshort