int转QString的两种方法

QString::number(int );

QString("%1").arg(int );

原文地址:https://www.cnblogs.com/fuyanwen/p/3340452.html