Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76601 - [qgis] Removing qtwebkit breaks QGIS Plugins
Attached to Project:
Community Packages
Opened by Sylvain POULAIN (kikislater) - Wednesday, 16 November 2022, 15:59 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 17 November 2022, 08:43 GMT
Opened by Sylvain POULAIN (kikislater) - Wednesday, 16 November 2022, 15:59 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 17 November 2022, 08:43 GMT
|
DetailsDescription: QtWebKit was removed in Qgis 3.28.0-2 with this commit : https://github.com/archlinux/svntogit-community/commit/783d52696588264257eed9d32c9fd212d0fdeace
It breaks Qgis itself as this file is still present : ``` $ cat /usr/lib/python3.10/site-packages/qgis/PyQt/QtWebKit.py # -*- coding: utf-8 -*- """ *************************************************************************** QtWebKit.py --------------------- Date : November 2015 Copyright : (C) 2015 by Matthias Kuhn Email : matthias at opengis dot ch *************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * *************************************************************************** """ __author__ = 'Matthias Kuhn' __date__ = 'November 2015' __copyright__ = '(C) 2015, Matthias Kuhn' from PyQt5.QtWebKit import * ``` Additional info: * package version(s): 3.28.0-2 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: Install QGIS, try to load some plugins like streetview, openlayers, Qgis2threejs, qgis2web, qgis_resource_sharing, DataPlotly, qtribu and you will get: ``` ImportError: cannot import name 'QtWebKit' from 'PyQt5' (/usr/lib/python3.10/site-packages/PyQt5/__init__.py) ``` or ``` ModuleNotFoundError: No module named 'PyQt5.QtWebKit' ``` or ``` ImportError: cannot import name 'QtWebKitWidgets' from 'PyQt5' (/usr/lib/python3.10/site-packages/PyQt5/__init__.py) ``` These plugins call /usr/lib/python3.10/site-packages/qgis/PyQt/QtWebKit.py which is already in Qgis package. python-pyqt5-webkit is now missing from archlinux ... |
This task depends upon
Closed by Antonio Rojas (arojas)
Thursday, 17 November 2022, 08:43 GMT
Reason for closing: Won't fix
Thursday, 17 November 2022, 08:43 GMT
Reason for closing: Won't fix
Please consider the answer of Nyall Dawson (Qgis developper) from 20 of January 2020
https://github.com/qgis/QGIS/issues/33924
=> "It was later undeprecated by qt. The web engine widgets aren't a full replacement, and qgis requires functionality that isn't available in the web engine versions. This is a won't fix."
That's why I said "push"
> "It was later undeprecated by qt"
This is plainly and simply false.
https://aur.archlinux.org/packages/python-pyqt5-webkit
Note that qt5-webkit itself will be moved to AUR shortly, which will imply much longer compilation times.