Casting LPWSTR to QString
-
how can I cast LPWSTR to QString in QT?
(I want to use the QString to show the message in QmessageBox) -
LPWSTR is a pointer to 16-bit Unicode characters (http://msdn.microsoft.com/en-us/library/cc230355.aspx ) So, you probably want QString::fromUtf16()