Is there a QString function which takes an int and outputs it as a QString?
QString
Use QString::number():
int i = 42; QString s = QString::number(i);