Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@J-Hilk Thanks man, your answer saved my time also, I had Qt 5.13.1 and serial read was not working, I updated to 5.14.0 and now it works.
@Wuzi said: QStrings do not use \0 as end of string marker , as far as i know but will put one there when converted to std string etc. QbyteArray can also include the \0 please see http://doc.qt.io/qt-5/qbytearray.html#data