Qt World Summit: Submit your Presentation

QtSerialPort Building Problem

  • Hello everyone, I am trying to build a GUI for my bachelor's thesis work. I am trying to connect Arduino to Qt, and create a GUI for it.

    I am using Ubuntu 14.04, and Qt Creator 3.1.1, Based on Qt 5.2.1 (GCC 4.8.2, 64 bit). As I read the website https://wiki.qt.io/QtSerialPort, I followed every single step in it, and it failed every time. I tried in terminal, it says: "QSerialPortInfo has no member named ‘serialNumber’..." and so on.

    Furthermore, when I tried using QtCreator, opened the project qtserialport.pro, and rebuild it, it gave a lot of warnings and failure.

    Anybody could help me fixing this problem? Should I reinstall this? Thank you very much in advance! Regards!

  • Hi and welcome to devnet,

    starting from Qt 5.1 QSerialPort is officially part of Qt: you don't need to build it anymore.