Solved Unkown module in QT:webenginewidgets webchannel.
QT += core gui webenginewidgets webchannel.
The QT5 of raspberrypi can't use the module webenginewidgets webchannel.I want to use these to communicate with html.I think
that lost the webchannel package,but "sudo apt-get install qtwebengine5-dev qtpositioning5-dev" can't work success.So how can I figure it?
thanks for your help.
but "sudo apt-get install qtwebengine5-dev qtpositioning5-dev" can't work success
What exactly is the problem with this?
Do you execute this on RaspberryPi or on your host machine?
You need to install these packages on your RaspberryPi and then sync your sysroot.
@jsulm yes ,I execute on host machine then find that webengine package is't in qt source by using "apt-cache search qt".I just find the webchannel,webkit,websocket et.
@Vector-Jin As I wrote before: if you want to cross-compile you need the libs for your RaspberriPi, not host...
@jsulm Yes,I agree,So I use the deb-lib of qt to install the module,but there isn't Qwebengine package.Maybe the qt source in deb-lib of raspberryPi hasn't update to the newest version.But fortunately, the Qwebkit can still work and it can replace the Qwebkit.Thank you for your help.