[Development] QSettings refactor updates

Adam Light aclight at gmail.com
Fri Oct 10 15:37:40 CEST 2014

On Fri, Oct 10, 2014 at 4:27 AM, Ziller Eike <Eike.Ziller at theqtcompany.com>

> On Oct 10, 2014, at 11:48 AM, Morten Johan Sørvig <morten.sorvig at digia.com>
> wrote:
> >>
> >>> Mac people: do we need access to plist files?
> >>
> >> Plist is the format for application and other settings on OS X, and
> there are native tools for nicely editing these. Ini is highly alien on OS
> X.
> >> So, I’d answer yes.
> >
> > On the other hand, git uses the ini file format for the config files
> also on OS X.
> git is a command line tool, and used by a very specific audience.
> > I see this as two separate use cases:
> > 1) Cross-platform API for managing application settings.
> We regularly have people which complain that Qt Creator application
> settings do not follow platform convention on OS X, because they do not
> find a qt creator plist in ~/Library/Preferences, or actually there is one
> that contains some settings coming from Qt (NSNavLastRootDirectory,
> PMPrintingExpandedState...., some WebKit stuff, and a few more), but not
> the actual application settings.
On the flip side, our large Qt application runs on Mac and Windows and
we're intentionally using QSettings with INI format on both platforms for
consistency. Since the storage of settings is really an implementation
detail (users should hopefully never need to edit the settings files
themselves), it's easier for us if the settings are stored the same way on
all platforms.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20141010/3d090882/attachment.html>

More information about the Development mailing list