On Sunday 13 September 2015 14:31:07 Igor Mironchik wrote: > Hi, > > How to serialize/deserialize pointers to/from QDataStream correctly? Just don't do it.
The main reason to serialize data is to store it in some file and later retrieve it, possibly with another program. Even when retrieving a pointer with the same program running as a new instance the value (address) of a pointer has no meaning, since that address will not be pointing to valid memory. -- Best Regards Reinhardt Behm _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
