Use QSettings, this way it will use native format for storing config.