String^ QStringToString(const QString& string) { return gcnew String((const wchar_t*)string.utf16()); }
See also: How to convert String to QString
by Vurdalakov |
String^ QStringToString(const QString& string) { return gcnew String((const wchar_t*)string.utf16()); }
No comments:
Post a Comment