Skip to content

Commit

Permalink
[opengl] import classes still in QtGui on pyqt5/6
Browse files Browse the repository at this point in the history
  • Loading branch information
renefritze committed Dec 27, 2021
1 parent 581de1f commit 3029bb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qtpy/QtOpenGL.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@

if PYQT5:
from PyQt5.QtOpenGL import *
from PyQt5.QtGui import QOpenGLBuffer, QOpenGLFramebufferObject, QOpenGLFramebufferObjectFormat, QOpenGLShader, \
QOpenGLShaderProgram
elif PYQT6:
from PyQt6.QtOpenGL import *
from PyQt6.QtGui import QOpenGLContext
elif PYSIDE6:
from PySide6.QtOpenGL import *
elif PYSIDE2:
Expand Down

0 comments on commit 3029bb2

Please sign in to comment.