PDA

View Full Version : QString -> wchar_t*



elizabeth.h1
26th October 2009, 10:34
Hello
How can I convert QString to wchar_t*

Is there any other way, except this way?


QString mm("Hello");
wchar_t * ptr=mm.toStdWString ().c_str();


Thanks