On segunda-feira, 26 de setembro de 2016 10:40:02 PDT Michael Winkelmann wrote: > I think what Qt is lacking is a good serialization module like cereal or > boost serialization. > With this pattern, QDataStream would be just another archive format, > like JSON or XML. > Cereal has portable and unportable binary for endianness.
Having worked with Cereal on another project, I don't think that's a good approach. Serialising to different protocols and formats is not something that can be properly abstracted. Not if you want to produce a schema that the other side expects. If you're going to serialise something that only you will read, then QDataStream is already sufficient. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
