[Qt-interest] eventsFilter

Tom Panning lurchvt at gmail.com
Fri Dec 19 22:59:37 CET 2008


On Thu, Dec 18, 2008 at 1:30 PM, Karl Ruetz <karl.ruetz at sototech.com> wrote:
>
> QT Version: 4.4.1
> OS: RHEL 5
>
> I am attempting to create a console application that uses QLocalServer/QLocalSocket for interprocess communication.
> In the program, I stay in the event loop waiting for connections.
> If the user presses a key, I want to exit the program.

I don't think console applications get key events. You would have to
watch standard input for new characters in order to do what you're
trying to do.

Tom



More information about the Qt-interest-old mailing list