Harry Fox
Harry Fox

Reputation: 613

Convert WCHAR to QString in Qt

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

Upvotes: 15

Views: 32143

Answers (1)

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

Upvotes: 31

Related Questions