QString str=QString("x坐标为:%1 y坐标为:%2").arg(i).arg(j); 转载于:https://www.cnblogs.com/liming19680104/p/11523216.html