Unsolved Adding Serial Port Module with QT += serialport
-
Hi all,
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
QSerialPort
file in the include path but cannot load the module in the.pro
file (QT += serialport
). I tried to install again to see if the module has installed or not but problem still same. The error isPROJECT ERROR: Unknown module(s) in QT: serialport
. I installed the Qt to secondary hard drive (D:).Thanks.
-
Hi and welcome to devnet,
Might be a silly question but did you re-run qmake after adding
QT += serialport
to 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 ?