您的位置:首页 > 其它

How to convert QString to std::string?

2012-06-07 17:48 239 查看
[code]QString qs;
// do things
std::cout << qs.toStdString() << std::endl;

Here's reference documentation for
QString
.
http://stackoverflow.com/questions/4214369/how-to-convert-qstring-to-stdstring
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: