Important: Please read the Qt Code of Conduct -

how to install qtserialport in qt5.4.1

  • Hello everybody,
    I am rajasekhar,
    I am using qt5.4.1 in ubuntu 15.04,and in past when i was using qt5.3 previouslyin ubuntu 14.04.
    There qtserialport was working and also is there in lib files.
    But now when i am using 5.4 version of qt in ubuntu 15.04, qtserial port is not working and lib files were also not there in lib files even it was installed by using Ubuntu software centre.
    I tried by downloading and doing make as mentioned in qt wiki of qt5serialport5 lib files.but there is no use.
    Please help me.
    I added QT +=serialport to project file.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Might be a silly question but did install libqt5serialport5-dev ?

  • @SGaist .Thanks for reply sir,
    I installed when i am doing make all in qtserialport build directory after qmake,it is showing the errors like,no such file or
    directory: libudev.h.
    if i went went wrong,please tell me how to install libqt5serialport5-dev.

  • Lifetime Qt Champion

    Something's not clear: are you using your distribution's Qt or building Qt yourself ?

Log in to reply