Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to update textedit with qDebug things..
mahesh last edited by
hi i want to create a console like thing what ever the standerdouts i want to put it in text edit i wrote code like this
process = new QProcess(this);
connect(process, SIGNAL(readyReadStandardOutput()), this, SLOT(updateOutput()));
void MainWindow :: updateOutput(void)
QByteArray bytes = process->readAllStandardOutput();
When i run Qt application i want see all stdout in this textEdit..but it was not showing any thing can some one please tell me what is the wrong in this one...
HuXiKa last edited by
goetz last edited by
You should start the process.
How is your question related to your thread topic? They do not match at all and qDebug is not used anywhere in your code.