[Development] Settings API for QML

Thiago Macieira thiago.macieira at intel.com
Tue Dec 11 17:02:20 CET 2012


On terça-feira, 11 de dezembro de 2012 09.41.48, Mark wrote:
> Perhaps it's an idea to look at KConfig for Qt inclusion? KConfig (XT)
> seems nice and works rather well in KDE applications. All that's
> needed then is a QML API to access the KConfig configuration. If i'm
> right, KDE already has that through data engines though that probably
> doesn't work. Perhaps a global Qt QML function like "Qt.config(...)"
> or "Qt.configValue(...)" would need to be introduced.

KConfig is also inadequate because it does not support notification of changes 
from other ends. KConfig is just a better QSettings, it doesn't solve the 
problems we needed to solve.

> As for QSettings, wasn't it supposed to be deprecated in Qt5?

It was, but since we have no replacement yet, it couldn't be deprecated nor 
removed.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121211/51208591/attachment.sig>


More information about the Development mailing list