Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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 http://qt-project.org/wiki/QtSerialPort

    Downloaded latest source snapshot, as per instructions.

    Started qtcreator, loaded qtserialport.pro, 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).

    Thanks,
    Jason


  • Lifetime Qt Champion

    Hi,

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


Log in to reply