Results 1 to 3 of 3

Thread: How to clear saved settings on Windows?

  1. #1
    Join Date
    Mar 2011
    Location
    Denmark
    Posts
    74
    Thanks
    7
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default How to clear saved settings on Windows?

    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?

  2. #2
    Join Date
    Aug 2009
    Location
    Greece
    Posts
    69
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to clear saved settings on Windows?

    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

  3. #3
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: How to clear saved settings on Windows?

    You can remove keys by QSettings::remove("key"), or if you are using Windows, open regedit and delete all settings by hand.

Similar Threads

  1. Settings in windows
    By kurrachow in forum Newbie
    Replies: 8
    Last Post: 18th March 2011, 00:28
  2. Verifying XML loaded/saved
    By xtal256 in forum Qt Programming
    Replies: 2
    Last Post: 6th March 2011, 02:01
  3. Getting windows internet proxy settings
    By jdd81 in forum Qt Programming
    Replies: 2
    Last Post: 10th June 2009, 22:27
  4. Using windows proxy settings
    By schall_l in forum Qt Programming
    Replies: 0
    Last Post: 22nd October 2008, 15:05
  5. windows xp "local security settings"
    By mickey in forum General Discussion
    Replies: 1
    Last Post: 7th August 2008, 03:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.