[PyQt] PyQt5 support for QtWebEngine (for QML WebEngineView)?
Phil Thompson
phil at riverbankcomputing.com
Thu Sep 15 13:54:42 BST 2016
On 12 Sep 2016, at 10:32 pm, Russell Warren <russ at perspexis.com> wrote:
>
> > Adding the call to setAttribute() works fine for me.
>
> Works as in you can actual load a WebEngineView in QML? When I set that attribute I'm still left with the qml import error:
>
> QQmlApplicationEngine failed to load component
> file:///home/russ/pcode/qedms/examples/WEV.qml:3 module "QtWebEngine" is not installed
>
> Although I now see what you were talking about with QtWebEngine.initialize() not being specifically required, looking at the attribute it affects (AA_ShareOpenGLContexts) I can see that it isn't the problem here. It still seems like QtWebEngine itself is required, and it doesn't seem to be present.
>
> In short: I guess I don't need the specific QtWebEngine.initialize method, but it sure seems like I need QtWebEngine itself in order to use WebEngineView in QML.
Yes - it's missing from the wheel.
Phil
More information about the PyQt
mailing list