Hai

I want get the screen output of qDebug() or printf or fprintf to a QString Variable

how to do this?

Qt Code:
  1. int a=0x3F4ccccd;
  2. QString hexA;
  3. qDebug("%x",a); // i want this output in a QString hexA Variable.
To copy to clipboard, switch view to plain text mode 

help please