Skip to content

Instantly share code, notes, and snippets.

@pezy
Created July 10, 2014 01:59
Show Gist options
  • Save pezy/4a0105b7ef210df3b605 to your computer and use it in GitHub Desktop.
Save pezy/4a0105b7ef210df3b605 to your computer and use it in GitHub Desktop.
QSettings settings("test.ini", QSettings::IniFormat);
settings.beginGroup("players");
const QStringList childKeys = settings.childKeys();
foreach (const QString &childKey, childKeys)
qDebug() << settings.value(childKey);
settings.endGroup();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment