Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QtWebKitWidgets is no longer available #99

Merged
merged 3 commits into from
Jan 22, 2024
Merged

Conversation

kikislater
Copy link
Contributor

@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2022

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (93723e3) 21.50% compared to head (05637cf) 21.52%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   21.50%   21.52%   +0.01%     
==========================================
  Files          17       17              
  Lines         730      734       +4     
  Branches       76       76              
==========================================
+ Hits          157      158       +1     
- Misses        572      575       +3     
  Partials        1        1              
Files Coverage Δ
qtribu/logic/web_viewer.py 36.11% <40.00%> (-1.39%) ⬇️

@Guts Guts added the enhancement New feature or request label Nov 15, 2022
@Guts
Copy link
Member

Guts commented Nov 15, 2022

Hi @kikislater ,

Thanks for your interest and PR!

Can you fix the linter error please?

Does this change affect compatible QGIS versions?

@Guts Guts self-requested a review November 15, 2022 17:55
@kikislater
Copy link
Contributor Author

kikislater commented Nov 16, 2022

Please wait, could be distribution specific case ...
qgis/QGIS#33924
archlinux/svntogit-community@783d526
https://bugs.archlinux.org/task/76601

@Guts
Copy link
Member

Guts commented Nov 21, 2022

So, what should we do?

@lbartoletti any idea?

@kikislater
Copy link
Contributor Author

Asking Qgis dev's again about QtWebkit (and its pyQt module) is the best IMO
It was removed from Archlinux and may be soon in others platforms (security concern) :
https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=Fedora&component=qtwebkit&product=Fedora&product=Fedora+EPEL

Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Guts Guts merged commit fffdbbe into geotribu:main Jan 22, 2024
7 checks passed
@kikislater
Copy link
Contributor Author

@Guts @lbartoletti So I haven't followed the behaviour of qtwebkit in Qgis, what will happen to qtwebkit in Qgis, will it still be needed? I've come to understand that removing it would cause problems with Qgis 3D, which needs qtwebkit, so if you have any more info, please let me know!

lbartoletti added a commit to lbartoletti/qtribu that referenced this pull request Jul 31, 2024
As discussed in geotribu#99, QtWebKit is deprecated.
The previous fix was not portable. Even when QGIS has QtWebKitWidgets, it fails
if not present on the system. This change adopts a more sustainable method using
only QtWebEngineWidgets, which will also be available in Qt6.

Additionally, instead of calling PyQt (which can be PyQt5 or PyQt6 depending on
the system), we now use the link provided by QGIS with qgis.PyQt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants