How to convert QString to int?

I have a QString in my sources. So I need to convert it to integer without “Kb”.

I tried Abcd.toInt() but it does not work.

QString Abcd = "123.5 Kb"

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)