Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top