Hi,

I'm sure this is really easy but I just can't work out how to do it

I have a QString which I need to put into

Qt Code:
  1. unsigned char tod;
To copy to clipboard, switch view to plain text mode 

Please note that tod is not a pointer (that seems easy to do). I have old-style-cast on so can't cast as (unsigned char). Using Qt5

Thanks in advance!