C++ (Qt)...QString getSettingsPath(){ return QDir::toNativeSeparators( qApp->applicationDirPath() + "/settings.ini" );}...QSettings * createSettings(){ return new QSettings( getSettingsPath(), QSettings::IniFormat );}
C++ (Qt)QSettings::QSettings(const QString & fileName, Format format, QObject * parent = 0)