On sábado, 24 de setembro de 2016 00:47:16 PDT Reinhardt Behm wrote: > > Which is great until it's writing to another device that does not > > implement > > Qt, because it's an Arduino or similar. I don't think it's an unusual > > scenario that you're using QDataStream to exchange data to a device that > > does not implement Qt. > > Or the have two devices are both based on Qt, but different versions.
You should always set the serialisation version number unless you're sure that the other side is running the exact same version. Choosing the version number is a protocol negotiation feature. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest