Adding Serial Port Module with QT += serialport
I'm trying to develop a serial communication application with Qt 5.7 and Qt Creator 4.1.0 Community Edition but I'm facing with module problem. I can see the
QSerialPortfile in the include path but cannot load the module in the
QT += serialport). I tried to install again to see if the module has installed or not but problem still same. The error is
PROJECT ERROR: Unknown module(s) in QT: serialport. I installed the Qt to secondary hard drive (D:).
Hi and welcome to devnet,
Might be a silly question but did you re-run qmake after adding
QT += serialportto your .pro file and before building ?
Hi @SGaist thank you. Yes I re-runned qmake many times but the result is same.
How did you install Qt ?