Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Clean QSettings on Mac OSX 10.9 [SOLVED]

Clean QSettings on Mac OSX 10.9 [SOLVED]

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wael
    wrote on last edited by
    #1

    I need to clean qsettings when my application is uninstalled, I tried to delete $HOME/Library/Preferences/myDomin.myApp.plist but this does not clean settings, and when I run my application next time it still accesses old one, what else should I delete to clean it?

    Thanks in advance

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Depending on your version of OS X, you might be currently getting the cached version of the settings (Mavericks is known to have an aggressive caching behavior for that)

      So for that OS you would need to also run:

      @killall -u yourusername cfprefsd@

      In order to "reload" the settings.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Wael
        wrote on last edited by
        #3

        SGaist,

        Yes you are right, I am using Mavericks, and when I killed my cfprefsd it did the magic

        Thanks a lot, I've been struggling with this for too long, your help is very appreciated

        Wael

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved