[Qt-interest] How to serialize objects

Patrick Vollebregt jeet.nl at gmail.com
Sun Mar 22 23:24:47 CET 2009


Ehm... i mean: http://doc.trolltech.com/4.5/qmetatype.html

Using  the macro Q_DECLARE_METATYPE should give you load and save methods.


> Hi,
>  
> I've searched everywhere but I am not able to find an answer to this, 
> how do you serialize an object in Qt C++?
>  
> Raja sekharan
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090322/941f5748/attachment.html 


More information about the Qt-interest-old mailing list