QT中吧QString类型转换为int类型

来源:互联网 发布:易观智库外卖数据 编辑:程序博客网 时间:2024/05/01 19:12
QString a;
a = "123";
int b;
b = a.toInt();
qDebug() << b;
0 0
原创粉丝点击