We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51f8154 commit 1beaedfCopy full SHA for 1beaedf
src/classes/app.py
@@ -40,7 +40,10 @@
40
from PyQt5.QtWidgets import QApplication, QStyleFactory, QMessageBox
41
42
# QtWebEngineWidgets must be loaded prior to creating a QApplication
43
-from PyQt5.QtWebEngineWidgets import QWebEngineView
+try:
44
+ from PyQt5.QtWebEngineWidgets import QWebEngineView
45
+except ImportError:
46
+ pass
47
48
try:
49
# Solution to solve QtWebEngineWidgets black screen caused by OpenGL not loaded
0 commit comments