#include <QtSerialPort/QSerialPort> no such file or directory
-
Hi,i user this tutorial :
@
http://doc-snapshot.qt-project.org/qt5-stable/qtserialport/blockingmaster.html
@
but when i want to run it qt creator error is:@
: error: Unknown module(s) in QT: serialport
@
and when i hold mouse on #include <QtSerialPort/QSerialPort> it write
@
#include <QtSerialPort/QSerialPort> no such file or directory
@
i use qt 5.1 any idea? -
First, need download, build and install the QtSerialPort add-on, see http://qt-project.org/wiki/QtSerialPort
Second, I yet wouldn't recommend to use "blocking approach" (any of BlockingXXX Example) because it yet doesn't work correctly. Use better "async approach", see examples of Terminal, Master, Slave from /examples directory.