How to convert decimal to hexadecimal with Qt programming?
<p>How to convert decimal to hexadecimal with Qt programming? Such as 69 switch to 45, 56 switch to 38 and so on... I try like this</p>

<pre><code>QString str = QString::number(s.at(i).unicode());
bool ok;
qDebug() &lt;&lt; str.toUtf8();
</code></pre>

<p>but failed. I need to convert this string "E8A5" ASCII switch to hexadecimal number or string.</p>