http://lists.trolltech.com/qt-intere...ad01097-0.html

stdin on Windows is a magic little beast that tries to work both like a
windows handle, and as the Posix FILE* handle (e.g., fileno(stdin) returns
something that can be passed to other BSD emulation functions). The problem
is that it is not a pipe. It isn't a socket. It's not a file. It is a
special buffered device that is flushed on endline or EOF, and sometimes it
can get flushed by other activity.

You cannot use QSocketNotifier to receive notifications on stdin, because
Windows doesn't send single object notifications on it. QSocketNotifier on
Windows is designed to work with network sockets, and stdin isn't a socket
per se.

Andreas