Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to dump QWidget into QDataStream?



  • Dear all,

    I would like to do QWidget or set of QWidgets to dump into binary raw format into QDataStream & write output to a file.

    I tried but it can get only pointer not the real data.

    How can I do that?

    Thanks



  • There is no builtin method for this. You will have to write your own serialization method.


Log in to reply