Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtWebEngine build with errors
A Former User last edited by A Former User
I am trying to compile qtwebengine for raspberry pi using
[http://wiki.qt.io/RaspberryPi2EGLFS ](link url)
the compilation terminates with following errors :
..... .... .obj/qquickwebengineview.o:qquickwebengineview.cpp:function QQuickWebEngineView::webChannel(): error: undefined reference to 'QQmlWebChannel::QQmlWebChannel(QObject*)' collect2: error: ld returned 1 exit status make: *** [../../lib/libQt5WebEngine.so.5.6.1] Error 1 make: Leaving directory `/home/gesar/pi-qt5.6/raspi/qtwebengine/src/webengine' make: *** [sub-webengine-install_subtargets] Error 2 make: Leaving directory `/home/gesar/pi-qt5.6/raspi/qtwebengine/src' make: *** [sub-src-install_subtargets] Error 2
Every other module is successfully build except qtwebengine.
What am I missing?
Please anyone help. I have been trying for 2 weeks
mewster last edited by
Old post but I had the same error; I had to build qtdeclarative BEFORE qwebchannel to solve this error.