[solved] QSettings on OS X 10.9 - unable to locate/clear it
I have a Qt (4.8.5) based application running on OS X 10.9. The app uses QSettings class specifying app name and company. Plist file is created by QSettings under:
The app works pretty fine in terms of saving/restoring preferences. Then I quit the app, delete *.plist file, run the app again and voila - it restored its preferences! Based on what what file? Hot to delete it?
PS. Was unable to find the answer in the Qt doc for QSettings class.
The settings files are located in the hidden directory .config located in your home directory:
Not true, nothing's there. only 2 folders Nokia and QtProject
It's true if you have created the setting like this
@mySettings = new QSettings( QSettings::IniFormat, QSettings::UserScope,
"AppName " + QString( APP_VERSION ) );@
I'm using default format (plist on mac), not INI
In 10.9 the .plist files are being cached ("see":http://hints.macworld.com/article.php?story=20130908042828630.
So once you have deletede the .plist the cache must be refreshed. Either log out or do "killall -u yourusername cfprefsd"
thank you, this is it