We can do this by the setNum function of QString.
int decimal = 10000;
QString hexadecimal;
hexadecimal.setNum(decimal,16);
ref:
1. https://forum.qt.io/topic/28890/convert-from-int-to-hex/4
We can do this by the setNum function of QString.
int decimal = 10000;
QString hexadecimal;
hexadecimal.setNum(decimal,16);
ref:
1. https://forum.qt.io/topic/28890/convert-from-int-to-hex/4