
Originally Posted by
arunvv
How can I convert a char array[6] to QString and use it for display.
Example:
char array[0] = FF,
char array[1] = FF,
char array[2] = FF,
char array[3] = FF,
char array[4] = FF,
char array[5] = FF
Use this char array, convert it to QString.
Help me out for such conversion.
Thanks & Regards,
Arun.
I am sorry but is this c++ ? Probably you mean
char array[6];
array[0] = 0xFF,....
char array[6];
array[0] = 0xFF,....
To copy to clipboard, switch view to plain text mode
There is constructor for QString which constructs using "C" string.(null terminated of course)
Bookmarks