How can I know when QProcess wants to read input?

Posted by mpcabd on Stack Overflow See other posts from Stack Overflow or by mpcabd
Published on 2010-05-08T12:33:37Z Indexed on 2010/05/08 12:38 UTC
Read the original article Hit count: 168

Filed under:
|
|

I'm implementing a compiler in my Compilers class, I'm using Qt & C++.

After I have generated the machine code from the source code, I'm executing the virtual machine that will execute the call.

I'm facing a problem here, I'm using readyRead() signal to get output from the virtual machine, but how can I know that the virtual machine wants to read data from the user?

I wanna show the user an input dialog each time the machine asks for input.

© Stack Overflow or respective owner

Related posts about qprocess

Related posts about c++