Thank you Volker. Yes, I forget to add the const to my code below which is why i got that deprecated warning message.
I will do some more c++ studying.
@char *tt = "test";@
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.