srohit24
22nd July 2009, 16:14
Hi
I am using a function that accepts only charcters.
I am using a QString variable to collect all data.
What i need now is that to convert this QString to char array if possible.
Whenever i try to send the QString, i get a error saying
error: cannot convert `QCharRef' to `char' in argument passing
what should i do to convert the QString to a char array??
I am using a function that accepts only charcters.
I am using a QString variable to collect all data.
What i need now is that to convert this QString to char array if possible.
Whenever i try to send the QString, i get a error saying
error: cannot convert `QCharRef' to `char' in argument passing
what should i do to convert the QString to a char array??