Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top