Is there a QString function which takes an int and outputs it as a QString?
QString
Moreover to convert whatever you want, you can use QVariant. For an int to a QString you get:
QVariant
int
QVariant(3).toString();
A float to a string or a string to a float:
float
string
QVariant(3.2).toString(); QVariant("5.2").toFloat();