Yes, I want to create a QServer process and have it start another QProcess and communicate with events. So I am trying to figure out how to first, create a custom event, and second, how to send that event from one process to the other.
Thank you for the order flow I need, so I guess I need to know how to:
1) Create a custom event (doc mentions extending QEvent, and somehow giving it an id above 1000 to designate it as a custom event)
2) serialize the event
3) send it on QCopChannel
4) deserialize the event
5) dispatch it
Is this not a common task that would have some sample code around for me to investigate? Or is there a better way to communicate between processes in an event driven manner?




Reply With Quote


Bookmarks