Published
- 1 min read
from integer to qstring qt
The solution for this is noted below
from integer to qstring qt
Solution
Use QString::number():
int i = 42;
QString s = QString::number(i);
Try other methods by searching on the site. That is if this doesn’t work