first few changes to fix the settings xml handling but this needs
>=qt5.0 and the porting is not yet done