Skip to content

Commit

Permalink
small webengine fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennoCaldato committed Aug 19, 2020
1 parent 51f8154 commit 1beaedf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/classes/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
from PyQt5.QtWidgets import QApplication, QStyleFactory, QMessageBox

# QtWebEngineWidgets must be loaded prior to creating a QApplication
from PyQt5.QtWebEngineWidgets import QWebEngineView
try:
from PyQt5.QtWebEngineWidgets import QWebEngineView
except ImportError:
pass

try:
# Solution to solve QtWebEngineWidgets black screen caused by OpenGL not loaded
Expand Down

0 comments on commit 1beaedf

Please sign in to comment.