I have a QString in my sources. So I need to convert it to integer without \"Kb\".
QString
I tried Abcd.toInt() but it does not work
Abcd.toInt()
You can use:
QString str = "10"; int n = str.toInt();
Output:
n = 10