PDA

View Full Version : QString to hex



offline
22nd December 2009, 10:35
Hello
how can l convert Qstring to hex unsigned char array.

Examples:
Qstring = hello
Hex Unsigned Char = {68, 65, 6c, 6c, 6f}
how can I do this?

high_flyer
22nd December 2009, 10:39
I answered it already!
Please don't multi-post!
http://www.qtcentre.org/forum/f-qt-programming-2/t-qstring-to-hex-26740.html

dbzhang800
23rd December 2009, 06:06
what do you mean "hex unsigned char array"