[Qt-creator] Qt and bash scripts

Phil phil_lor at bigpond.com
Sun Jul 1 10:56:55 CEST 2012


On 01/07/12 18:07, Orgad and Raizel Shaneh wrote:

>
> Did you call myProcess.start()?
>

I've just realised that I've been sending my question to the wrong list. 
Anyway Orgad this is what I've done.

    QProcess myProcess;

    myProcess.startDetached("ls");

    QByteArray array = myProcess.readAllStandardOutput();

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

-- 
Regards,
Phil



More information about the Qt-creator mailing list