[Qt-interest] QProcess and Genisoimage

Keiver Hdez Fdez khfernandez at estudiantes.uci.cu
Tue Mar 3 01:43:11 CET 2009


 Hello everyone, I'm trying to parse the output of genisoimage started with QProcess, but I can't get any output text.

 I'm doing this:
- Setting the right channel:
    geniso->setReadChannel(QProcess::StandardOutput);

-Using the signals:
    connect(geniso,SIGNAL(readyReadStandardOutput()),this,SLOT(readISO()));

- Reading the output correctly:(I think...)
    QByteArray output = geniso->readAllStandardOutput();
    QString str = output.constData();

If I use the same code with any other command, I get the output of it.
Any ideas? Is a problem of genisoimage?





More information about the Qt-interest-old mailing list