Reputation: 117
Qt WebEngine This link show python wrapper for Qt WebEngine . Please can canyone tell me how can i add this in pyqt5 environment? Thanks!!!
Upvotes: 7
Views: 8553
Reputation: 18395
It seems I got it working:
Either install pyqt
version 5.10, which still ships the web engine,
either install a newer (I use 5.12) and install PyQtWebEngine
separately.
pip3 install PyQtWebEngine
Now these imports work:
from PyQt5.QtWebEngineWidgets import QWebEnginePage
from PyQt5.QtWebEngineWidgets import QWebEngineView
I can't tell you the whys, I didn't find any explanation, just a clue here: PyQt 5.11 missing WebEngine modules
Upvotes: 6