09-27-2012 03:43 AM
here i want to make some calculation on the user input so iam takeing user input using textfield using text() function but it was returning QString then how to convert QString to integer
Solved! Go to Solution.
09-27-2012 03:55 AM - edited 09-27-2012 03:56 AM
Hi, did you try toInt() ?
http://doc.qt.digia.com/latest/qstring.html#toInt