How often is readAllStandardError() called? It might be that it reads and gets "Connecting to STCHPS426..." then it is called several times but nothing is in StandardError, that's why you get newlines.
One of the possible solutions is to connect a readyReadStandardError() signal of QProcess to a slot, which will call readAllStandardError().
Bookmarks