Unkown module in QT:webenginewidgets webchannel.
-
Hi.
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. -
@Vector-Jin said in Unkown module in QT:webenginewidgets webchannel.:
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. -
@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.