Unsolved How to redirect output of stdout to GUI QTextEdit Shell from one process to another process
-
Hi I have console
and I have anothet process process 1. From process 0 where I have GUI in QTextEdit , I was to redirect the output which i printed on console to QtextEdit in process 0
I went through http://doc.qt.io/qt-5/qprocess.html but did not get specific example ot output redirection from Stdout to GUI shell
-
@Qt-Enthusiast What about http://doc.qt.io/qt-5/qprocess.html#readyReadStandardError
http://doc.qt.io/qt-5/qprocess.html#readyReadStandardOutput
http://doc.qt.io/qt-5/qprocess.html#readAllStandardError
http://doc.qt.io/qt-5/qprocess.html#readAllStandardOutput
?
Isn't this what you need?
It is described right there in Communicating via Channels.