How to I make the output of a QIODevice
(QProcess
, specifically) go into a QTextEdit
in real time?
Connect the QProcess::readyRead signal to a slot that then reads from the QProcess using QProcess::readAllStandardOutput and writes the text to the QTextEdit with QTextEdit::append.