Hi, I'm trying to get a string containing a hexadecimal number to have the letters in the number in upper case instead of lower case. I use the code below.
tagID and antennaID are both unsigned intergers.
Qt Code:
QString outStr; tagLine << "TagFound: " << hex << tagID << " on Antenna: " << antennaID;To copy to clipboard, switch view to plain text mode
But the resulting string always has lower case letters in the hex number:
"TagFound: 702f2cba on Antenna: 1"
Any idea what i am doing wrong? thanks
Bookmarks