toInt(); // int to QString int d = 18; QString qs = QString::number(d); ... 可先由上面的方法将char*先转为string,再和QString相互转换。
確定! 回上一頁