Skip to content

Commit

Permalink
Merge pull request #532 from luxonis/gui_workaround_windows
Browse files Browse the repository at this point in the history
Add a workaround for GUI blank window on Windows:
  • Loading branch information
alex-luxonis authored Nov 24, 2021
2 parents 0ef75c0 + 745c7bc commit e27c75a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions depthai_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ def _printSysInfo(self, info):


if __name__ == "__main__":
if platform.system() == 'Windows':
os.environ["QT_QUICK_BACKEND"] = "software"
from gui.main import DemoQtGui
from PySide6.QtGui import QImage

Expand Down

0 comments on commit e27c75a

Please sign in to comment.