testing if qtwebkitwidgets is the problem
This commit is contained in:
1 parent
b570f0c885
commit
28ebdae35b
1 file changed
+6
-4
+6
-4
@@ -1,9 +1,11 @@
|
||||
from PyQt5.QtCore import QUrl
|
||||
|
||||
try:
|
||||
from PyQt5.QtWebKitWidgets import QWebView
|
||||
except ImportError:
|
||||
from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
|
||||
# try:
|
||||
# from PyQt5.QtWebKitWidgets import QWebView
|
||||
# except ImportError:
|
||||
# from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
|
||||
|
||||
from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
|
||||
|
||||
|
||||
class WebView(QWebView):
|
||||
|
||||
Reference in new issue
Block a user