trying to solve pipeline issue: No module named 'PyQt5.QtWebKitWidgets'
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
from PyQt5.QtCore import QUrl
|
||||
|
||||
try:
|
||||
from PyQt5.QtWebKitWidgets import QWebView
|
||||
except ImportError:
|
||||
from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
|
||||
|
||||
|
||||
class WebView(QWebView):
|
||||
|
Reference in New Issue
Block a user