SyntaxFix
Write A Post
Hire A Developer
Questions
You can use:
QString str = "10"; int n = str.toInt();
Output:
n = 10