[Qt-interest] QString to TCHAR* and back

Duane Hebert spoo at flarn.com
Wed Feb 24 18:04:45 CET 2010


"Dan White" <ygor at comcast.net> wrote in message 
news:865848077.7789821267028814870.JavaMail.root at sz0126a.westchester.pa.mail.comcast.net...
> How about QString::fromStdWString and QString::fromWCharArray and QString::toStdWString and QString::toWCharArray  ?
>
> Search for "wchar" on the QString documentation page.

Thanks.  This seems to work though the toWcharArray is pretty annoying.  toStdWString::c_str() seems to work though. 




More information about the Qt-interest-old mailing list