How to convert unsigned short value[1] to QString?
How to convert unsigned short value[1] to QString?
Re: How to convert unsigned short value[1] to QString?
Hey bro,
use this--->
int main(.....){
unsigned short int ab=5;
QString str=QString::number(ab);
}
and your short will convert to string.
Re: How to convert unsigned short value[1] to QString?
Or, if the value in the unsigned short is supposed to be a wide character then:
might do what you want. However, since the question is vague at best it is hard to know what you want.
I can't believe for a moment you actually have an array of one element.