Wednesday, October 14, 2009

How to convert QString to String

String^ QStringToString(const QString& string)
{
    return gcnew String((const wchar_t*)string.utf16());
}


See also: How to convert String to QString

No comments:

Post a Comment