Important: Please read the 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?


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

Log in to reply