PDA

View Full Version : How to clear saved settings on Windows?



Berryblue031
24th March 2011, 12:26
My app saves settings using QSettings.setvalue

I would like to do some testing as if I was a new user with a fresh install, how do I clear out the settings saved on my machine?

Rhayader
24th March 2011, 12:40
Depending if you you want to clear only the values or the vlaue/key you can use QSettngs.clear() or QSettings.remove(). Check QSettings for more

stampede
24th March 2011, 12:49
You can remove keys by QSettings::remove("key"), or if you are using Windows, open regedit and delete all settings by hand.