Hi everybody,

I have an integer value and I need to convert each integer digit value to an ascii code. For example if I have :
Qt Code:
  1. int intValue = -123;
To copy to clipboard, switch view to plain text mode 

i whish to have the following string :
Qt Code:
  1. QString asciiValue = "2D 31 32 33"
To copy to clipboard, switch view to plain text mode 

I is it possible to get the ascii code of a char ?

Thanks in advance.