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()
The string you have here contains a floating point number with a unit. I'd recommend splitting that string into a number and unit part with QString::split().
QString::split()
Then use toDouble() to get a floating point number and round as you want.
toDouble()