Alternative to QString::sprintf()
-
Kenchan, for future reference, please try to open new posts rather than reopening ages-old ones. I'm going to move this question to its own thread for you.
In your case, you could use something like:
@
QString foo = QString("%1%2%3").arg(prefix).arg(intval).arg(suffix);
@
or something. Be sure and look at the docs for QString.