hubbobubbo
23rd November 2010, 09:10
Hi
I have seen some posts on and off about this but I have not yet found what I am looking for.
I have a settings xml file in an existing project and when migrating to Qt I just love QSettings, however since my current xml settings file has attributes several levels the ini file does not really correlate to my xml. Sure I can use "subkeys" in the inifile such as
mykey/subkey/value = i
However it does not seem to hard to implement the read and write functions in QSettings to store in xml format and I might just do that. However before going down that road, I wonder if there really is no one else who has a generic QSettings -> XML implementation to share?
I have seen some posts on and off about this but I have not yet found what I am looking for.
I have a settings xml file in an existing project and when migrating to Qt I just love QSettings, however since my current xml settings file has attributes several levels the ini file does not really correlate to my xml. Sure I can use "subkeys" in the inifile such as
mykey/subkey/value = i
However it does not seem to hard to implement the read and write functions in QSettings to store in xml format and I might just do that. However before going down that road, I wonder if there really is no one else who has a generic QSettings -> XML implementation to share?