Don't worry how the values are stored in INI file, just read the value and convert to the type which was used during writing using toString() /toInt() functions.
also try this for more insight
qDebug() << settings.value("AAA") << settings.value("BBB");
qDebug() << settings.value("AAA").toString() << settings.value("BBB").toInt();
qDebug() << settings.value("AAA") << settings.value("BBB");
qDebug() << settings.value("AAA").toString() << settings.value("BBB").toInt();
To copy to clipboard, switch view to plain text mode
Bookmarks