<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Arial,Helvetica,sans-serif;" dir="ltr">
<div>Hello,<br>
<br>
i think i have found a problem regarding the new QtWebEngineWidget and the loadUi function of uic.<br>
I am designing my GUIs using Qt5 Designer. Currently i want to use a QWebView widget.<br>
The problem occurs, when i use the loadUi function like "self.ui = loadUi("G.ui")" I get the following error:<br>
<br>
Traceback (most recent call last):<br>
File "/home/gui.py", line 65, in <module><br>
g = gui()<br>
File "/home/gui.py", line 24, in __init__<br>
self.ui = loadUi("G.ui")<br>
File "/usr/local/lib/python3.5/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUi<br>
return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)<br>
File "/usr/local/lib/python3.5/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUi<br>
return self.parse(filename, resource_suffix, basedir)<br>
.......<br>
File "/usr/local/lib/python3.5/dist-packages/PyQt5/uic/objcreator.py", line 100, in createQObject<br>
factory = self.findQObjectType(classname)<br>
File "/usr/local/lib/python3.5/dist-packages/PyQt5/uic/objcreator.py", line 125, in findQObjectType<br>
w = module.search(classname)<br>
File "/usr/local/lib/python3.5/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 69, in search<br>
self._module = __import__(self._moduleName, {}, {}, self._classes)<br>
ImportError: No module named 'PyQt5.QtWebKitWidgets'<br>
<br>
Since the QtWebKit was replace with QtWebEngine it cannot find the module.<br>
My question is, if this could be a result of this Replacement?<br>
Thank you and with<br>
<br>
Best regards,<br>
Justus<br>
</div>
<br>
</div>
</body>
</html>