[SOLVED] How to get data from another process (QProcess)?
-
Hi,
I have two apps.- One of them is console application (I only use it and I can modify it, but it must be console app). There is two windows: one with console and the other with image from camera. In console window some data is showed.
- The other is my app created with Qt.
When I start console app using QProcess I get only window with camera image so I can't see what is happening in console window.
How can I get data from that app? I'm able to modify that app but it must be console app. -
Hi,
QProcess:: readyReadStandardOutput will tell you when there's something to read from the standard output. You can then use readAllStandardOutput to get the data.
Hope it helps
-
You're welcome !
Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)