QString str = "165";
int x = str.toInt();