I have rather complicated QSettings-based confuguration file, that grew by time and became quite large. Originally I selected "ini" format, which in the hindsight appears to be a wrong choice. Now I have to move the configuration to the website where there is no Qt.

My questions are:
1. Is there an easy way to copy a "group" (created with "beginGroup/endGroup" calls) to a new group in the same QSetting-based config file?
Something like non-existent QSetting::copyGroup("currentName", "newName"), so everything iside the group is copied?

2. Is there a way to copy one configuration file format into another? I have an .ini-based config and would like to convert it to xml. Doing it programmatically group by group will be a tedious work. Any converters out there?

Suggestions and comments will be appreciated.

Thanks.