<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">What do you actually want to use which is missing?</blockquote><div><br></div><div><div>All I'm trying to do is get a WebEngineView to render in QML, per their tiny example here (to start with):</div><div><br></div><div><a href="http://doc.qt.io/qt-5/qml-qtwebengine-webengineview.html#initializing-web-engine">http://doc.qt.io/qt-5/qml-qtwebengine-webengineview.html#initializing-web-engine</a></div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(Given that, according to the docs, you don't need to call QtWebEngine.initialize()).</blockquote><div><br></div>Where does it say that? The docs I see [1] say that "<i>for the web engine view to be rendered, the web engine must be initialized by using QtWebEngine::initialize in the application main source file</i>".<div><br></div><div>When I convert the small C launcher in the example to python and load the qml, I get:</div><div><br></div><div><div><font face="monospace, monospace" color="#990000">QQmlApplicationEngine failed to load component</font></div><div><font face="monospace, monospace" color="#990000">file:///home/russ/code/qml/examples/WEV.qml:3 module "QtWebEngine" is not installed</font></div></div><div><br></div><div>Here is my python file (a direct translation from the cited docs, minus the unavailable QtWebEngine.initialize()):</div><div><br></div><div><div><font face="monospace, monospace" color="#0000ff">#!/usr/bin/env python</font></div><div><font face="monospace, monospace" color="#0000ff">import sys</font></div><div><font face="monospace, monospace" color="#0000ff">from PyQt5 import QtGui, QtQml</font></div><div><font face="monospace, monospace" color="#0000ff">from OpenGL import GL #Linux workaround. See: <a href="http://goo.gl/s0SkFl">http://goo.gl/s0SkFl</a></font></div><div><font face="monospace, monospace" color="#0000ff"><br></font></div><div><font face="monospace, monospace" color="#0000ff">app = QtGui.QGuiApplication(sys.argv)</font></div><div><font face="monospace, monospace" color="#0000ff">engine = QtQml.QQmlApplicationEngine()</font></div><div><font face="monospace, monospace" color="#0000ff">engine.load("WEV.qml")</font></div><div><font face="monospace, monospace" color="#0000ff">app.exec_()</font></div></div><div><br></div><div>And the QML file...</div><div><br></div><div><div><font face="monospace, monospace" color="#0000ff">import QtQuick 2.0</font></div><div><font face="monospace, monospace" color="#0000ff">import QtQuick.Window 2.0</font></div><div><font face="monospace, monospace" color="#0000ff">import QtWebEngine 1.0</font></div><div><font face="monospace, monospace" color="#0000ff"><br></font></div><div><font face="monospace, monospace" color="#0000ff">Window {</font></div><div><font face="monospace, monospace" color="#0000ff"> width: 1024</font></div><div><font face="monospace, monospace" color="#0000ff"> height: 750</font></div><div><font face="monospace, monospace" color="#0000ff"> visible: true</font></div><div><font face="monospace, monospace" color="#0000ff"> WebEngineView {</font></div><div><font face="monospace, monospace" color="#0000ff"> anchors.fill: parent</font></div><div><font face="monospace, monospace" color="#0000ff"> url: "<a href="http://www.qt.io">http://www.qt.io</a>"</font></div><div><font face="monospace, monospace" color="#0000ff"> }</font></div><div><font face="monospace, monospace" color="#0000ff">}</font></div></div><div><br></div><div><div>I have tried other python launchers (eg: with QQuickView) and I still run into issues on that qml import of QtWebEngine.</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 9, 2016 at 12:09 PM, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 9 Sep 2016, at 4:19 pm, Russell Warren <<a href="mailto:russ@perspexis.com">russ@perspexis.com</a>> wrote:<br>
><br>
> I'm pretty confident that the answer to my question is that QtWebEngine (for qml support) is simply not in the PyQt wheel, even though QtWebEngineCore and QtWebEngineWidgets are included. Next step, I think, is to successfully build PyQt from scratch to see if it is there.<br>
><br>
> However, while searching for docs to say which specific wrappers/modules are included in the wheels (do these exist? I couldn't find it), I noticed that "QtWebEngine" is not included in the list of PyQt5 components...<br>
><br>
> <a href="http://pyqt.sourceforge.net/Docs/PyQt5/introduction.html#pyqt5-components" rel="noreferrer" target="_blank">http://pyqt.sourceforge.net/<wbr>Docs/PyQt5/introduction.html#<wbr>pyqt5-components</a><br>
><br>
> Does this mean there are still no wrappers for it? Is there a fundamental reason for this? There is a very specific callout for QtWebEngineWidgets indicating that there can be compiler issues on Windows, but no mention of QtWebEngine is made.<br>
><br>
> Also, assuming it isn't there, is there a list of modules like this that don't have PyQt wrappers available?<br>
<br>
</div></div>What do you actually want to use which is missing? (Given that, according to the docs, you don't need to call QtWebEngine.initialize()).<br>
<span class="HOEnZb"><font color="#888888"><br>
Phil</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font color="#000099">Russell Warren</font></div><div><font color="#000099">Perspexis Technologies Inc.</font></div><div><font color="#000099"><br></font></div><div><font color="#000099">This information is confidential and intended solely for the use of the individual or entity to whom it is addressed.</font></div><div><span style="color:rgb(0,0,153)">If you have received this email in error, please notify the sender immediately.</span></div></div></div>
</div>