Skip to content

Commit

Permalink
Merge pull request #99 from kikislater/patch-3
Browse files Browse the repository at this point in the history
QtWebKitWidgets is no longer available
  • Loading branch information
Guts authored Jan 22, 2024
2 parents 93723e3 + 05637cf commit fffdbbe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion qtribu/logic/web_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
# PyQGIS
from qgis.PyQt.QtCore import QCoreApplication, Qt
from qgis.PyQt.QtGui import QDesktopServices
from qgis.PyQt.QtWebKitWidgets import QWebView

try:
from qgis.PyQt.QtWebKitWidgets import QWebView
except:
QCoreApplication.setAttribute(Qt.AA_ShareOpenGLContexts)
from PyQt.QtWebEngineWidgets import QWebEngineView as QWebView

from qgis.PyQt.QtWidgets import QVBoxLayout, QWidget

# project
Expand Down

0 comments on commit fffdbbe

Please sign in to comment.