JoZCaVaLLo
26th April 2012, 16:42
Hi... I'm working on OSX, does somebody now why the following code creates an .ini file inside my bundle???
QSettings mySettings(QSettings::IniFormat, QSettings::SystemScope, QApplication::ApplicationName, CProgrVersion::GetOrganizationName());
mySettings.setValue("key", "xyz");
mySettings.sync();
This creates me the file /Applications/myApp.app/Contents/myDomain.org/myApp.ini ...
According to the doc, this code should store my settings under /Library/Preferences/myDomain.org/myApp.ini
Any help would be really appreciated.
QSettings mySettings(QSettings::IniFormat, QSettings::SystemScope, QApplication::ApplicationName, CProgrVersion::GetOrganizationName());
mySettings.setValue("key", "xyz");
mySettings.sync();
This creates me the file /Applications/myApp.app/Contents/myDomain.org/myApp.ini ...
According to the doc, this code should store my settings under /Library/Preferences/myDomain.org/myApp.ini
Any help would be really appreciated.