I'm pretty new to Qt and C++.
I've been trying to send a QMouseEvent across a QTcpSocket. I understand that you can serialize QObjects using the QDataStream and the << / >> operators. However, QEvent is not a supported class, so I was wondering if anyone had experience serializing it? As far as I can tell, you can overload the << / >> operators to serialize custom classes but only by breaking them down into supported QObjects, which is not possible in my case since I'm trying to send a base Qt class that simply isn't implemented.
Would it be necessary to use some other library to do this? Or is it possible in QT alone?