QProcess::setReadChannelMode() unknown ?
Hi, I currently work on a project in which I need to run an external application. this application is in command lines, so I'd like to get at the same time the standard output and the error output. To do this, the QProcess::setProcessChannelMode () method seemed the best to me, as it allows to "mix" both streams in one.
My issue is that the compilator doesn't recognize it :
main.cpp:50: error: 'class QProcess' has no member named 'setProcessChannelMode'
In case you need it, my config is : QT 4 Windows, Open Source Edition, compilator g++ 3.4.2
Could anybody help me ? Thanks in advance
PS : If you have any other idea to get both streams and display them chonologicaly, it is also good to me.
PPS : Please excuse any possible mistake in my language, English is not my daily language
Re: QProcess::setReadChannelMode() unknown ?
It should be setReadChannelMode() not setProcessChannelMode().
Re: QProcess::setReadChannelMode() unknown ?
Re: QProcess::setReadChannelMode() unknown ?
Oups, so silly ! I feel so ashamed not to have see that myself.... :crying: