is it is by adding waitFor...() many times?
Added after 5 minutes:
i used printf to write output from Qprocess. so i used QProcess::readAllStandardoutput().
Is your C program writing its output to stdout or stderr and are you reading the correct channel? Look at QProcess:setProcessChannelMode and perhaps use QProcess::MergedChannels if you want both...jefftee Today, 04:54
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.