I need to append text to QPlainTextEdit without adding a newline to the text, but both methods appendPlainText() and appendHtml() adds
QPlainTextEdit
appendPlainText()
appendHtml()
The current Answer was not an option for me. It was much simplier to add html with no new lines with the following method.
//logs is a QPlainTextEdit object ui.logs->moveCursor(QTextCursor::End); ui.logs->textCursor().insertHtml(out); ui.logs->moveCursor(QTextCursor::End);