Sorry, but I am completely a noob using QT, I need to know how to convert an int to QString, using vcl from Borland was intToStr(value), but in QT4 how can I do it?
I QTAsistant I read something about using QVariant, but I need help.
thanks...
Sorry, but I am completely a noob using QT, I need to know how to convert an int to QString, using vcl from Borland was intToStr(value), but in QT4 how can I do it?
I QTAsistant I read something about using QVariant, but I need help.
thanks...
Hey guys, I find a way, but I don't know if it's the best, anyway I did the following:
Qt Code:
To copy to clipboard, switch view to plain text mode
Is there another way to do this?
thanks!!!
Lots of ways. The easiest in my opinion is the static method:
QString::number(int);
AgentGreen (19th July 2010), drake1983 (11th March 2007), tpf80 (17th May 2007)
Bookmarks