I have been struggling for some time now and can\'t figure this out. I added a class to my basic Qt GUI application and i got linker errors. I don\'t see what can cause this and
As noted here, because QtSerialPort is an add on module you need to explicitly add it to your project:
QT += serialport