Hi All,
I try to read from stdin in a nonblocking manner. To do so I used the example from here with QT 4.8.1
After correcting some typos the connect works but the signal seems not to be emitted.
Two things are remarkable :
1. the console do not echo the keybord input
2. after issuing Crtl-C the former unvisible keybord input appear on console and the program terminates as expected.
the method readCommand will not be called at any time.
I have changed the example a little by moving the constructor from inline in the header file to simple constructor the cpp file, but this do not make a difference.
Can someon give me a hint whats the problem ??
By the way the .pro file contains the CONFIG += console setting
Thanks
dexli
Bookmarks