1)QString转int直接调用toInt()函数QString str = “100”;int tmp = str.toInt();2)int转QString直接调用QString::number()方法就ok;例:int tmp = 100;QString str ...
確定! 回上一頁