Alright, thank you for your help on this! I have just a last question on this topic:
If I am correct, QtWebKit is deprecated and has been removed from Qt since version 5.6. Does this mean that it will be removed from Qgis whenever the project moves to Qt 6 or is there another way to still ship QtWebKit with Qt 6 ? Best, Jean-Baptiste -----Original Message----- From: Nyall Dawson <nyall.daw...@gmail.com> Sent: Wednesday, February 16, 2022 1:57 AM To: Jean-Baptiste Peter <jbpe...@outlook.com> Cc: qgis-developer@lists.osgeo.org Subject: Re: [QGIS-Developer] Recommended method to display a webpage in a plugin On Wed, 16 Feb 2022 at 06:46, Jean-Baptiste Peter <jbpe...@outlook.com> wrote: > > Hello, > > I am trying to figure what is the right way to display a webpage within a > QGIS plugin and I have a few questions : > > Is it currently possible to use QWebEngineView class with QGIS python > console? When I try to import it in QGIS python console, I get the following > error : > > > > ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets' > > > > > > 2. If it is not currently possible to use QWebEngineView, does it involve > major work or is there a chance it will be supported in the near future? It's a very messy, horrible situation with no good ways forward. Right now you'll need to use QtWebKit, and there's no plans on the horizon to change this. Nyall _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer