我只需要将表示为 float 对象的数字转换为 QString 对象。我知道有一个函数 QString::number() 可以用于其他类型,例如 int 和 double ,如下所示: int a = 1; QString ...
確定! 回上一頁