[Qt-creator] Qt and bash scripts
Orgad and Raizel Shaneh
orgads at gmail.com
Sun Jul 1 10:07:34 CEST 2012
On Sun, Jul 1, 2012 at 10:45 AM, Phil <phil_lor at bigpond.com> wrote:
> On 01/07/12 17:20, Orgad and Raizel Shaneh wrote:
>> You probably want also standard error.
>> QByteArray array = myProcess.**readAllStandardOutput() +
>> myProcess.**readAllStandardError() (note that the outputs will NOT be
> Thanks Orgad,
> I must need something else as well because the size of QBtyeArray is
> always zero.
> I was looking for a string or a string list the contains the output of the
> As an example, say I executed "ls" then I'd like a string to contain the
> file names that ls found.
Did you call myProcess.start()?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qt-creator