Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to catch event when program is in background?
cheng last edited by
How can we catch event when program run in background?
This depends heavily on the IPC mechanisms used by the two applications and what you mean by "event".
alexander last edited by
Which events on which OS do you want to catch? From other programs or X events that are received from the X server or something else?
maybe enough reimplement next functions:
@bool QCoreApplication::winEventFilter ( MSG * msg, long * result ) [virtual]
bool QApplication::x11EventFilter ( XEvent * event ) [virtual]
bool QApplication::symbianEventFilter ( const QSymbianEvent * event ) [virtual]
bool QApplication::macEventFilter ( EventHandlerCallRef caller, EventRef event ) [virtual]@