Serialize with Qt, deserialize without Qt?
问题 If I serialize a struct using QDataStream and send this via UDP, is it possible to then deserialize it without Qt ? 回答1: if you want to deserialize without using the Qt library, you would have to read the Qt serialization format which is described briefly here, and write the deserialization code yourself. And since this format is likely to change, you should use setVersion in the serializing application and stick into some version that you can implement deserialization code for it in the