[SOLVED] Qt int to String in qml aka sprintf in c
QML and Qt Quick
2
Posts
2
Posters
6.1k
Views
1
Watching
-
Hi,
AFAIK there's no direct way to do this. But you could write a function in C++ or in JavaScript to do that.
For JS way something like "this":http://stackoverflow.com/questions/1127905/how-can-i-format-an-integer-to-a-specific-length-in-javascript