PDA

View Full Version : unsigned char * to QString



elina.du
25th March 2009, 08:51
I wish covert unsigned char *ch to QString

How could I do?
Could you give me some code?

Lykurg
25th March 2009, 09:03
A constructor is QString ( const char * str ). Doesn't it work?
QString str(ch);

elina.du
25th March 2009, 09:33
yes,it works now! thx!!!:p