reading arrays in ini format with qsettings

1.6k views Asked by At

I have the next file, which with QSettings finds as iniFormat (QSettings::IniFormat).

[PortA]
pgmNames = { "C.pgm", "T.pgm" }

but how do I parse "pgmNames"?

1

There are 1 answers

0
kakush On BEST ANSWER

as Vladimir Bershov said, I should use settings.value(param).toStringList().

Thanks Valdimir