On Wednesday 18 February 2015 12:16:58 Matthew Woehlke wrote: > > I have not tried QSettings yet, but since it works with QVariant it > > should > > work. > > Sure, I'd expect it to work, also :-). What I meant was, does it get > written as an integer, or as a string?
Neither. It's written as @Variant(<QDataStream serialisation of the type goes here>) where the QDataStream serialisation includes the type's name. It also only works if you've registered operator<< and operator>> for your type. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development