[Qt-interest] no comma for string type value in an INI format file?
Yan Jiangguo (James)
jyan972 at gmail.com
Sun Oct 18 22:13:43 CEST 2009
p.s. i'm sure it's OK if i use native windows API to handle it.
On Mon, Oct 19, 2009 at 4:13 AM, Yan Jiangguo (James) <jyan972 at gmail.com>wrote:
> hey all,
>
> I have an INI file like this one:[mykey]
> mystr = 0,1,2,3,
>
> then i try to read the string in with QSetttings :
> QString mystr = qset.value("mykey/mystr").toString();
> but, the result of mystr is ""
>
> if i change the mystr in INI file like this one:
> mystr = 0123
>
> then mystr will "0123" correctly after reading with QSetttings, what's
> wrong with it, no comma in INI file for string type value?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091019/396d40e3/attachment.html
More information about the Qt-interest-old
mailing list