I have a working solution which was simpler than expected.
When writing string values to the INI file, I append "\"STRING" to the string
When reading generic values. If the QVariant is a string without the above prefix I assume it's an int.
Works like a charm.
Many thanks to all of you!
Last edited by yaronkle; 15th October 2013 at 09:31.
Bookmarks