[Qt-interest] Sending window messages between Qt processes

Marco Borm qt-lists at retrodesignfan.eu
Sat Apr 18 23:02:54 CEST 2009


Hi,

Maybe this is something for you?
http://doc.trolltech.com/4.5/qlocalserver.html

Marco

Bob Hood wrote:
> 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