[Qt-interest] Sending window messages between Qt processes

Bob Hood bhood2 at comcast.net
Sat Apr 18 18:26:22 CEST 2009


Is there a non-platform-specific way of posting user-defined window
messages between Qt GUI processes?

I have several stand-alone applications that are exchanging data via
QtSharedMemory, but they are each using timers to poll the shared memory
segment for changes.  What I'd rather do is have a process store its
window id into the shared memory so that other processes can notify it
when data has been sent through the shared memory.  That way I can get
rid of the timers and polling.  However, I need this to be
cross-platform (Windows, Linux, Mac), so I don't want to use
platform-specific code.

Any advice, or links to examples, is appreciated.  Thanks.  :)




More information about the Qt-interest-old mailing list