🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest PyQt6 Activity

8Observer8
July 10, 2022 08:58 AM
A few basic changes in PyQt6 and PySide6 regarding shader-based OpenGL graphics

These changes are also true for PySide6.

1. OpenGL classes have been moved to a separate PyQt6.QtOpenGL namespace:

PyQt5:

from PyQt5.QtGui import (QOpenGLBuffer, QOpenGLShader, QOpenGLShaderProgram,
                        QOpenGLTexture)

PyQt6:

from PyQt6.QtOpenGL import (QOpenGLBuffer, QOpenGLShader, …
9,188 views
Advertisement
Advertisement
Advertisement