Does Qt have a way of storing configuration settings in a file?
config, file, qt
Solution
If you're trying to store settings for your own application in a config file, I've used QSettings like this before:
QSettings settings(QString("configs/config.ini"), QSettings::IniFormat);
QString someValue = settings.value("some/config/key", "default value if unset").toString(); // settings.value() returns QVariant
And exmaple configs/config.ini file:
[some]
config/key=whatever string here
Problem
Is there a recomended way of saving my application's settings (like user selections, window size, postion etc.) in a file (ini or any other format) using Qt?