[QGIS-Developer] [EXTERNAL] Re: Outdated WebKit engine version in QGIS

Yoann Quenach de Quivillic yoann.quenach at gmail.com
Thu Apr 20 00:17:05 PDT 2023


FYI, here's a (probably) related Qt bug report, but unfortunately it has
not seen much activity lately:
https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-85492.

Le jeu. 20 avr. 2023 à 00:31, Nyall Dawson via QGIS-Developer <
qgis-developer at lists.osgeo.org> a écrit :

> On Wed, 19 Apr 2023 at 16:55, Nguyen, Huy Minh <huyminh.nguyen at here.com>
> wrote:
> >
> > Hi,
> >
> > If Qt Webengine is in QGIS why it cannot be used ? Is there maybe any
> Qgs class that uses Qt Webengine internally and can be reused ?
>
> It's not in QGIS. It's in Qt, but can't be used from QGIS. QtWebengine
> requires some initialization steps before construction of the
> QApplication used by QGIS, and unfortunately these steps introduce an
> incompatibility in OpenGL handling which breaks the QGIS 3D
> functionality.
>
> Pending an upstream Qt / Webengine fix we can't resolve this
> situation, and Qt Webengine is not a possibility for use in QGIS.
>
> Nyall
>
>
> >
> > Minh
> >
> >
> > -----Original Message-----
> > From: Nyall Dawson <nyall.dawson at gmail.com>
> > Sent: Wednesday, April 19, 2023 7:28 AM
> > To: Nguyen, Huy Minh <huyminh.nguyen at here.com>
> > Cc: qgis-developer at lists.osgeo.org
> > Subject: [EXTERNAL] Re: [QGIS-Developer] Outdated WebKit engine version
> in QGIS
> >
> >
> > On Wed, 19 Apr 2023 at 15:24, Nguyen, Huy Minh via QGIS-Developer <
> qgis-developer at lists.osgeo.org> wrote:
> > >
> > > Hi,
> > >
> > >
> > >
> > > I have been using WebKit engine from the PyQt library built in QGIS
> 3.30 when developing QGIS plugin in Python to load web pages directly in
> QGIS. The Webkit engine used seems to be very outdated and not possible to
> render modern web pages. For example, the engine used in QGIS 3.30 dated
> back to 2016: AppleWebKit/602.1 (KHTML, like Gecko) QGIS3 Version/10.0
> Safari/602.1.
> > >
> > >
> > >
> > > Is there any chance to update the built-in Webkit engine version in
> next release of QGIS ?
> > >
> > > Otherwise, can the WebKit engine be updated locally and provided to
> the application ?
> > >
> > > Does QGIS offer any other built-in alternatives, like the Qt WebEngine
> or other web engine with python bindings ?
> >
> > It's an extremely messy and painful situation, but ultimately the answer
> is NO. There's no alternative, no way of updating the webkit version used
> by QtWebkit, and Qt Webengine CANNOT be used as it stands in QGIS.
> >
> > Nyall
> >
> > >
> > >
> > >
> > > Thank you,
> > >
> > > Minh
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > QGIS-Developer mailing list
> > > QGIS-Developer at lists.osgeo.org
> > > List info:
> > > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> > > s.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-developer&data=05%7C01%7Chuymi
> > > nh.nguyen%40here.com%7C83865261759a4e94b02808db4096e273%7C6d4034cd7225
> > > 4f72b85391feaea64919%7C0%7C0%7C638174789008955324%7CUnknown%7CTWFpbGZs
> > > b3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D
> > > %7C3000%7C%7C%7C&sdata=zsajlNbGjcZdZMAp%2BnBCgSAP1Tap5O6Ni8WbFSvKsuE%3
> > > D&reserved=0
> > > Unsubscribe:
> > > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> > > s.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-developer&data=05%7C01%7Chuymi
> > > nh.nguyen%40here.com%7C83865261759a4e94b02808db4096e273%7C6d4034cd7225
> > > 4f72b85391feaea64919%7C0%7C0%7C638174789008955324%7CUnknown%7CTWFpbGZs
> > > b3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D
> > > %7C3000%7C%7C%7C&sdata=zsajlNbGjcZdZMAp%2BnBCgSAP1Tap5O6Ni8WbFSvKsuE%3
> > > D&reserved=0
> > LEARN FAST: This email originated outside of HERE.
> > Please do not click on links or open attachments unless you recognize
> the sender and know the content is safe. Thank you.
> >
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20230420/6477af42/attachment.htm>


More information about the QGIS-Developer mailing list