doggrant
2nd September 2009, 16:20
Hi,
I've got a dialog which contains a QTextEdit.
In the dialog's constructor, I call this->show(), then use a QProcess() to run an external process. I connect to the readyReadStandardOutput signal to update the QTextEdit with the QProcesses output. However the text is not being updated in the QTextEdit.
If I activate and deactivate the dialog, by clicking on other windows on my system, everything updates, but if not, the dialog is not updated. The same code worked fine in QT3.
regards,
David
I've got a dialog which contains a QTextEdit.
In the dialog's constructor, I call this->show(), then use a QProcess() to run an external process. I connect to the readyReadStandardOutput signal to update the QTextEdit with the QProcesses output. However the text is not being updated in the QTextEdit.
If I activate and deactivate the dialog, by clicking on other windows on my system, everything updates, but if not, the dialog is not updated. The same code worked fine in QT3.
regards,
David