Important: Please read the Qt Code of Conduct -

[Qt 4.8] QtSerialPort doesn't build

  • Trying to install QtSerialPort. Qt 4.8, Windows 7 64-bit, MinGW tool chain.

    Went to

    Downloaded latest source snapshot, as per instructions.

    Started qtcreator, loaded, added make install build step, as per instructions.

    Build fails quickly at line 48 of qserialport.h:

    @#include <QtSerialPort/qserialportglobal.h>@

    Because QtSerialPort isn't a directory anywhere.

    Please advise. Not sure why it is including things in QtSerialPort, as I don't have it (hence building and installing QtSerialPort).


  • Lifetime Qt Champion


    It's including files that should have been generated, did you also install perl ?

Log in to reply