Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

QtSerialPort -> Terminal Example -> Only reads 8-bytes at a time

$
0
0
Hello, I am very new to C++ and Qt framework and I have two questions. I have been programming under CentOS using Qt 4 framework. 1) When using the Terminal Example [doc-snapshot.qt-project.org] I have noticed that it seems to only be reading in a maximum 8 bytes of data at a time. _Is there a way I can increase this? _ I have checked the QSerialPort Class [doc-snapshot.qt-project.org] and the only item that seems to stand out is:   qint64 QSerialPort::readBufferSize() const   Which seems to be set to the default value of 0, meaning no size limit. 2) I would like some input from experienced programmers on whether or not longterm its worth to switch to Qt5 from Qt4? Thanks!

Viewing all articles
Browse latest Browse all 13965

Trending Articles