QProcess is a QIODevice - you can read from it and write to it. Whatever you write will end up in the process's STDIN and whatever it outputs to STDOUT (or STDERR) will be available to read from the QProcess object.