Important: Please read the Qt Code of Conduct - missing or not found in Ubuntu 16.04

  • I am trying to create deb of QT 5.5 app which uses QT5 webkit and webkitwidgets in it. When I am trying to create deb with command "debuild -kMYGPGKEY" then it gives me below error.

    /usr/bin/ld: warning:, needed by /home/myusername/Qt5.5.0/5.5/gcc_64/lib/, not found (try using -rpath or -rpath-link)

    /home/myusername/Qt5.5.0/5.5/gcc_64/lib/ undefined reference to QAccelerometer::QAccelerometer(QObject*)' /home/myusername/Qt5.5.0/5.5/gcc_64/lib/ undefined reference toQRotationReading::x() const'

    any many more these types of undefined reference errors.

    From the error I found that libQt5WebKit is taking the reference libQt5WebChannel which is not found in my machine.

    So if anybody has any idea about the issue or how can I install in Ubuntu 16.04 then please let me know.


  • Now I am not getting missing error (which is dependency of qt webkit) in Ubuntu 16.04.

    Till now I was using Ubuntu 14.04 compatible debian/rule file in Ubuntu 16.04 machine during creating debian package.

    I just made changes in debian/rule file as per Ubuntu 16.04 and it works. But I did not know how to install qt5webchannel in Ubuntu 16.04.