Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Regarding the QDataStream to Write and Read QGraphicsitem objects
kowtham last edited by
Hi...I am new to Qt and almost done with my Game development by somehow preparing the documents. I got stuck at one place where i want to write the QGraphicsItem object into QDataStream and read it back as it is. I really need a help to achieve this task. Could some one help me on this?.
Thanks in Advance.
goetz last edited by
You must create two methods operator<<() and operator>>().
See my "comment":http://developer.qt.nokia.com/forums/viewreply/22324/ in another thread for some sample code.