My goal is to convert an hexadecimal value which is contained in a QString to its ASCII value.
I have :
QString hexaValue = receiveText.left(14); // receive texte is another QString
My problem here, is that I have my hexadecimal value in a Qstring and not in a QByteArray, so all of the solutions that I found are not working, I try to call .data() or fromHex() , but this ain't working here, because I'm forced to used a QString and not a QByteArray
Should I convert my QString to a QByteArray, is there a simple solution ?