[Interest] QtConFile

Scott Aron Bloom Scott.Bloom at onshorecs.com
Tue Sep 18 19:02:15 CEST 2012


Why not use QSettings with this format as a custom format add in?

-----Original Message-----
From: interest-bounces+scott.bloom=onshorecs.com at qt-project.org
[mailto:interest-bounces+scott.bloom=onshorecs.com at qt-project.org] On
Behalf Of Igor Mironchik
Sent: Tuesday, September 18, 2012 9:56 AM
To: Konstantin Tokarev
Cc: interest at qt-project.org
Subject: Re: [Interest] QtConFile

Hi.

> Use Lua instead:
>
> cfg = {
>      stringValue = "string",
>      listOfStringValues = { "str1", "str2", "str3" },
>      intValue = 100,
>      vecOfTags = {
>          stringValue = "string1",
>          intValue = 100
>      }
>      vecOfTags2 = {
>          stringValue = "string2",
>          intValue = 100
>      }
> }

Lots of commas, and what equality for? Configuration file should be user
friendly.
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list