QtWebEngine build with errors
Unsolved
Installation and Deployment
-
I am trying to compile qtwebengine for raspberry pi using
[http://wiki.qt.io/RaspberryPi2EGLFS ](link url)AND
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[2]: *** [../../lib/libQt5WebEngine.so.5.6.1] Error 1 make[2]: Leaving directory `/home/gesar/pi-qt5.6/raspi/qtwebengine/src/webengine' make[1]: *** [sub-webengine-install_subtargets] Error 2 make[1]: 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
-
Old post but I had the same error; I had to build qtdeclarative BEFORE qwebchannel to solve this error.