Convert WCHAR to QString in Qt. Please help me to implement it to complete this convertion.

有帮助吗?

解决方案

There are to/from WCharArray methods that are static members of QString:

http://doc.qt.io/qt-4.8/qstring.html#fromWCharArray

http://doc.qt.io/qt-4.8/qstring.html#toWCharArray

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top