Hello
How can I convert QString to wchar_t*

Is there any other way, except this way?
Qt Code:
  1. QString mm("Hello");
  2. wchar_t * ptr=mm.toStdWString ().c_str();
To copy to clipboard, switch view to plain text mode 

Thanks