Substitute for KConfig in Qt4

David Boddie dboddie at trolltech.com
Tue Sep 22 09:43:00 EDT 2009


On Sat Sep 19 12:18:40 CEST 2009, nusch wrote:
> On Sep 19, 3:53 am, David Boddie <da... at boddie.org.uk> wrote:
> > On Thursday 17 September 2009 13:04, nusch wrote:
> > > I want to remove pyKDE dependencies from my app to make it pure PyQt.
> > > What will be the best substitute for KConfig?
> >
> > What exactly do you use KConfig for in your application?
> >
> > David
>
> e.g storing dock window positions, fields choosen in QComboBox etc.
> But I Dont want to use normal config files for it

Then you would use QSettings. Although that may use configuration files
behind the scenes, they should at least be stored in a standard place.

http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qsettings.html

David



More information about the Python-list mailing list