XmlSettings XmlSettings is the XML QSettings format. Improvements over the original Support for arrays Support for binary data Writing keys in alphabetical order (in the original version it is in reverse order) The original solution is here https://gist.github.com/ianmac45/5171528