[Interest] QSettings doesn't save settings

Thiago Macieira thiago.macieira at intel.com
Thu Feb 11 22:43:34 CET 2016


On quinta-feira, 11 de fevereiro de 2016 09:50:58 PST Israel Brewster wrote:
> QSettings settings("israelbrewster","epunchclockstd");
> 
> and then use it. However, even if I call sync(), no settings file is ever
> created, and every time I create a settings object, I get an empty one -
> none of the settings I have saved ever show up. Calling settings.status()
> shows "NoError", which doesn't help and obviously isn't correct.

Did you add any setting to that QSettings? If there are no changes, then 
QSettings doesn't need to save anything.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list