#includeThis example creates a settings group called "SettingsGroup" and sets a value for it. It then outputs the value of the group setting. The package library for this example is the Qt Core library.#include #include int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QSettings settings("ExampleCorp", "ExampleApp"); // create a group settings.beginGroup("SettingsGroup"); // set a value for the group settings.setValue("GroupValue1", "Hello World"); // end the group settings.endGroup(); // output the value of the group setting qDebug() << settings.value("SettingsGroup/GroupValue1").toString(); return a.exec(); }