[Interest] Current QDataStream format documentation?
Thiago Macieira
thiago.macieira at intel.com
Sat Sep 24 02:13:26 CEST 2016
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
More information about the Interest
mailing list