qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.43k stars 2.99k forks source link

Consider porting to QtWebEngine #54965

Open lnicola opened 11 months ago

lnicola commented 11 months ago

Feature description

QtWebKit was removed in Qt6, as QtWebEngine is available instead. We should switch to that, or consider dropping WITH_QTWEBKIT, which doesn't seem to be used in a lot of places anyway.

Additional context

https://doc.qt.io/qt-6/qtwebenginewidgets-qtwebkitportingguide.html https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/

kannes commented 11 months ago

QtWebEngine clashes with Qt3D which is used for the QGIS 3D view, see https://github.com/search?q=repo%3Aqgis%2FQGIS+QtWebEngine&type=issues

lnicola commented 11 months ago

Was that the right link?

andreasneumann commented 11 months ago

@lnicola - there are some issues with QtWebEngine unfortunately. It cannot easily replace QtWebKit because of a lack in features.

As an example the vector output of web / HTML content doesn't work in QtWebEngine. Everything has to be rasterized. Graphics and Cartography people would complain a lot if Web content and HTML content would all be rasterized in PDF output. It would mean they cannot further process a PDF output from QGIS in a graphics software like Adobe or Inkscape.

landryb commented 7 months ago

now that #55627 and #53255 were merged, is there some progress on the porting itself ? what can be done for the missing features in qtwebengine ?