fix webview pipeline

This commit is contained in:
e20631
2023-05-09 10:13:35 +02:00
parent b464daffca
commit b6c47a903f

View File

@ -1,11 +1,9 @@
from PyQt5.QtCore import QUrl
# try:
# from PyQt5.QtWebKitWidgets import QWebView
# except ImportError:
# from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
try:
from PyQt5.QtWebKitWidgets import QWebView
except ImportError:
from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
class WebView(QWebView):