But all is OK. Terminal is writing to screen received bytes one by one. Yours program reads a few bytes from COM buffer and writes it to screen with qDebug which adds new line. It is all.