The subprocess communication for QProcess is typically handled asynchronously by connecting to the readyRead() signal etc.
If you want a top-to-bottom synchronous telnet session then you should look at the waitForBytesWritten() and waitForReadyRead() function on the QProcess object.
Bookmarks