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);
If you need locale-aware number formatting, use QLocale::toString instead.