yj_yulin
13th June 2010, 10:23
i use qsettings to read write a ini config file. which has has one value like below:
[config]
a_key = a.1=22 a.2=10 a.3=32
well, qsettings read those values fine,but when it write to the ini file, it becomes
[config]
a_key = "a.1=22 a.2=10 a.3=32"
thus another program cann't read it.
how can i tell qsettins just write the plain value, not with added ".
i have no control with the other program, it is not related with qt too.
any clue?
[config]
a_key = a.1=22 a.2=10 a.3=32
well, qsettings read those values fine,but when it write to the ini file, it becomes
[config]
a_key = "a.1=22 a.2=10 a.3=32"
thus another program cann't read it.
how can i tell qsettins just write the plain value, not with added ".
i have no control with the other program, it is not related with qt too.
any clue?