Unsolved qt example master serial port
-
I know that QT have an example of said master serial port . Under this example I wish to know if I click the start button , the string "who are you" will end with end of line "/n" ?
-
Hi
The blocking example ?
https://doc.qt.io/qt-5/qtserialport-blockingmaster-example.htmlThe text is just "Who are you?"
so there is no line ending. -
So what should I add item in order to add line ending ?
-
@lgeorge
just add to the string like
m_requestLineEdit(new QLineEdit(tr("Who are you?\n"))),
or add it when sending in the void Dialog::transaction()