Hi
I have the following problem:
Qt Code:
QByteArray test; test[0]= 0xAB; test[1]= 0xCD; test[2]= 0xEF; test[3]= 0x01; test[4]= 0x02; test[5]= 0x03; test[6]= 0x04; qDebug () << test.at(0);To copy to clipboard, switch view to plain text mode
test.at(0) gives me QChar but I need to display Hex Value
for at(0) is diplayed « instead of 0xAB
How to display hex value ?
Regards
Artur
Bookmarks