Re: [QGIS-Developer] [EXTERNAL] Re: Outdated WebKit engine version in QGIS
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 ? Minh -Original Message- From: Nyall Dawson Sent: Wednesday, April 19, 2023 7:28 AM To: Nguyen, Huy Minh Cc: qgis-developer@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 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@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@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Outdated WebKit engine version in QGIS
On Wed, 19 Apr 2023 at 15:24, Nguyen, Huy Minh via QGIS-Developer 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@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ 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
[QGIS-Developer] Outdated WebKit engine version in QGIS
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 ? Thank you, Minh ___ 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
Re: [QGIS-Developer] QT6 move forward meeting next week
Hi, I have added an option for friday at 11am, please check if that works for you. Kind regards. On Tue, Apr 18, 2023 at 12:10 PM Alessandro Pasotti wrote: > > ok, let's make a doodle, it's in the morning becausef of our > australian/asian friends. > > https://doodle.com/meeting/participate/id/eXrn1KWb > > > > > > On Tue, Apr 18, 2023 at 9:27 AM Jürgen E. Fischer via QGIS-Developer > wrote: > > > > Hi Ale, > > > > On Tue, 18. Apr 2023 at 09:18:12 +0200, Alessandro Pasotti via > > QGIS-Developer wrote: > > > Ok, let's do it the 20th. 11:00am local time. > > > > Jm, I'll still be on the way then. > > > > > > Jürgen > > > > -- > > Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 > > Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 > > Software Engineer D-26506 Nordenhttps://www.norbit.de > > QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC > > ___ > > 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 > > > > -- > Alessandro Pasotti > QCooperative: www.qcooperative.net > ItOpen: www.itopen.it -- Alessandro Pasotti QCooperative: www.qcooperative.net ItOpen: www.itopen.it ___ 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
Re: [QGIS-Developer] QT6 move forward meeting next week
Hi Ale, On Tue, 18. Apr 2023 at 12:52:52 +0200, Alessandro Pasotti wrote: > I'm sorry but this is the best I can do: Nyall & friends are not > available in our afternoon and I have a workshop plus Martin is not > here on the 21st (and he spoke first). According to the wiki he's leaving at 12 on the 21th. So there might still be be options on friday too. > Maybe you will be able to attend remotely? No idea. I'll be on the train. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Nordenhttps://www.norbit.de QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC signature.asc Description: PGP signature ___ 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
Re: [QGIS-Developer] QT6 move forward meeting next week
I'm sorry but this is the best I can do: Nyall & friends are not available in our afternoon and I have a workshop plus Martin is not here on the 21st (and he spoke first). Maybe you will be able to attend remotely? I think we will be able to update you in person anyway. Talk to you soon! On Tue, Apr 18, 2023 at 12:46 PM Jürgen E. Fischer via QGIS-Developer wrote: > > Hi Ale, > > On Tue, 18. Apr 2023 at 12:10:27 +0200, Alessandro Pasotti wrote: > > ok, let's make a doodle, it's in the morning becausef of our > > australian/asian friends. > > > https://doodle.com/meeting/participate/id/eXrn1KWb > > That doesn't have any better options. I'm traveling in the morning to Den > Bosch and probably will arrive shortly after 1300. > > > Jürgen > > -- > Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 > Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 > Software Engineer D-26506 Nordenhttps://www.norbit.de > QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC > ___ > 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 -- Alessandro Pasotti QCooperative: www.qcooperative.net ItOpen: www.itopen.it ___ 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
Re: [QGIS-Developer] QT6 move forward meeting next week
Hi Ale, On Tue, 18. Apr 2023 at 12:10:27 +0200, Alessandro Pasotti wrote: > ok, let's make a doodle, it's in the morning becausef of our > australian/asian friends. > https://doodle.com/meeting/participate/id/eXrn1KWb That doesn't have any better options. I'm traveling in the morning to Den Bosch and probably will arrive shortly after 1300. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Nordenhttps://www.norbit.de QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC signature.asc Description: PGP signature ___ 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
Re: [QGIS-Developer] QT6 move forward meeting next week
ok, let's make a doodle, it's in the morning becausef of our australian/asian friends. https://doodle.com/meeting/participate/id/eXrn1KWb On Tue, Apr 18, 2023 at 9:27 AM Jürgen E. Fischer via QGIS-Developer wrote: > > Hi Ale, > > On Tue, 18. Apr 2023 at 09:18:12 +0200, Alessandro Pasotti via QGIS-Developer > wrote: > > Ok, let's do it the 20th. 11:00am local time. > > Jm, I'll still be on the way then. > > > Jürgen > > -- > Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 > Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 > Software Engineer D-26506 Nordenhttps://www.norbit.de > QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC > ___ > 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 -- Alessandro Pasotti QCooperative: www.qcooperative.net ItOpen: www.itopen.it ___ 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
Re: [QGIS-Developer] QgsProjectStyleSettings styles.db remain open after QgsProject::clear()
On Tue, 18 Apr 2023, 6:34 pm Radim Blazek via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > Hi, > with Qgis 3.28.3 called from Python, whenever QgsProject::clear() is > called it creates new styles.db file, previous styles file is deleted > from system, but it remains open (listed by lsof). It becomes a > problem in server environment where every call to QgsProject::clear() > creates a new file and limit of open files is soon reached. > > Just reading the code I was not able to trace down where / which > object remains referenced. Maybe QgsStyle.mCurrentDB should be closed > explicitly? > It will only get freed when the event loop is next executed. You can safely execute the event loop with DeferredDelete to only cleanup of this object without the danger of other event loop mess. Nyall > Is it OK to use this workaround?: > project = QgsProject(None, Qgis.ProjectCapabilities()) > QgsProject.setInstance(project) > > BTW, how can I modify QgsProject.capabilities() from Python? > > Radim > ___ > 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 > ___ 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
[QGIS-Developer] QgsProjectStyleSettings styles.db remain open after QgsProject::clear()
Hi, with Qgis 3.28.3 called from Python, whenever QgsProject::clear() is called it creates new styles.db file, previous styles file is deleted from system, but it remains open (listed by lsof). It becomes a problem in server environment where every call to QgsProject::clear() creates a new file and limit of open files is soon reached. Just reading the code I was not able to trace down where / which object remains referenced. Maybe QgsStyle.mCurrentDB should be closed explicitly? Is it OK to use this workaround?: project = QgsProject(None, Qgis.ProjectCapabilities()) QgsProject.setInstance(project) BTW, how can I modify QgsProject.capabilities() from Python? Radim ___ 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
Re: [QGIS-Developer] QT6 move forward meeting next week
Hi Ale, On Tue, 18. Apr 2023 at 09:18:12 +0200, Alessandro Pasotti via QGIS-Developer wrote: > Ok, let's do it the 20th. 11:00am local time. Jm, I'll still be on the way then. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Nordenhttps://www.norbit.de QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC signature.asc Description: PGP signature ___ 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
Re: [QGIS-Developer] QT6 move forward meeting next week
Ok, let's do it the 20th. 11:00am local time. I'll find a room and post a jitsi link for remote attendees. Il dom 16 apr 2023, 17:19 Martin Dobias ha scritto: > Hi Alessandro > > A meeting for qt6 migration would be useful... My personal preference > would be for 20th as I will be leaving on 21st already and I would probably > miss it... > > Cheers > Martin > > > On Fri, Apr 14, 2023 at 9:48 AM Alessandro Pasotti via QGIS-Developer < > qgis-developer@lists.osgeo.org> wrote: > >> Hi, >> >> The budget for the QT6 research/migration work was approved, I was >> thinking of organizing a meeting next week on the 20th or 21st around >> 11:00am local time (The Netherlands). >> >> Many of us will be able to attend in person but I will try to set up a >> remote connection. >> >> Any preference on the date? >> >> -- >> Alessandro Pasotti >> QCooperative: www.qcooperative.net >> ItOpen: www.itopen.it >> ___ >> 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 >> > ___ 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