Skip to content

Commit

Permalink
use QOpenGLWidget for Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo committed Dec 23, 2023
1 parent d77e175 commit 4858002
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pivy/qt/QtOpenGL/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
try:
from PySide6.QtOpenGL import *
from PySide6.QtOpenGLWidgets import QOpenGLWidget as QGLWidget
except ImportError:
from PySide2.QtOpenGL import *

0 comments on commit 4858002

Please sign in to comment.