QSettings and duplicate keys acting like array
-
Hello,
Is it possible to use QSettings to parse following ini-format?
[Files]
File = "C:\asdfasdf1.txt"
File = "C:\asdfasdf2.txt"
File = "C:\asdfasdf3.txt"Looks like a list of files, should be a list of files but might not be standard way to handle "arrays" in ini-files. Problem is that I cannot change that format since it is used by other software, I just need to read and display those values in my software.
Thanks in advance.
-
It should be possible, yes. Check out this part of the documentation: "link":http://doc.qt.io/qt-5/qsettings.html#section-and-key-syntax.
-
[quote author="sierdzio" date="1418370140"]It should be possible, yes. Check out this part of the documentation: "link":http://doc.qt.io/qt-5/qsettings.html#section-and-key-syntax.[/quote]
I have looked at the documentation, also that section and to my understanding it does not provide any help for this specific situation.