[Interest] Qt and bash scripts

Phil phil_lor at bigpond.com
Sun Jul 1 11:10:51 CEST 2012

Thank you for reading this.

The following is an example of what I'm attempting. I'd like a string or 
a string list to contain the output from ls.

Array, in my example, is always empty.

     QProcess myProcess;


     QByteArray array = myProcess.readAllStandardOutput();

     qDebug() << "array = " << array;


More information about the Interest mailing list