Hi,

I am using QT 4.0 in a Linux (CentOS) environment. I need to convert from a QString to an unsigned char. However, I am having no luck. I tried the following:

Converting QString to "toStdString" and then typecasting to char. I received the following error: error: `struct std::string' used where a `char' was expected.

Any help would be appreciated.