[Development] Start of a refactor of the QSettings class based on QJson
Tor Arne Vestbø
tor.arne.vestbo at digia.com
Mon Oct 6 14:06:51 CEST 2014
On 26/09/14 00:31, Thiago Macieira wrote:
> On Thursday 25 September 2014 16:33:12 Tomaz Canabrava wrote:
>> Long that that I have send this e-mail already, but better late than never.
>> In the Qt Develompent Summit I raised my hand to get one dirty thing done:
>> The Settings.
>> After a good while with negative time ( Real Work, KDE, Subsurface, and
>> other personal stuff ) I have finally had the time to start.
>> For now, I'v implemented two things:
>> Parsing from .ini to QJson
>> Saving from QJson to .ini
>> Why .ini instead of json, since I'm doing a conversion and I coul'd simply
>> store the json file?
>> .ini is better to humanreadability.
>> thiago asked me to do from ini to qjson
> Tomaz forgot a bit of the rationale for this.
> We want to have our cake and eat it too: we want both the ability to edit
> config files by hand and the speed of QJsonDocument.
Sounds like a case for investigating YAML support in Qt
More information about the Development