I am trying to display a number using QDebug in the Hex format. Below is the code which I have written. It is working but the output has string contents enclosed in double quot
The solution is simple:
#include int value = 0x12345; qDebug() << "Value : " << hex << value;