热门标签
更多>
搜索结果
查询Tags标签: encodedName,共有 2条记录-
QT编程中的char*,wchar_t*与QString之间的转换
//QString to wchar_t: const wchar_t * encodedName = reinterpret_cast<const wchar_t *>(fileName.utf16()); //QString to char * (general case): const char * tmp = str.toUtf8().constData(); //wchar_t* to QString wchar_t szMsg[100] = {0}; _…
2021/9/5 22:07:02 人评论 次浏览 -
QT编程中的char*,wchar_t*与QString之间的转换
//QString to wchar_t: const wchar_t * encodedName = reinterpret_cast<const wchar_t *>(fileName.utf16()); //QString to char * (general case): const char * tmp = str.toUtf8().constData(); //wchar_t* to QString wchar_t szMsg[100] = {0}; _…
2021/9/5 22:07:02 人评论 次浏览