fix a build issue on debian + store settings in QSettings object