Missing QtWidgets.QOpenGLWidget
Closed this issue · 3 comments
sylvainberger commented
The QQOpenGLWidget class is not available in QWidgets
The workaround is to import it from PySide2 directly
from PySide2.QtWidgets import QOpenGLWidget
It would be nice to have it exposed in the Qt.QWidgets module
Thanks
mottosso commented
It's only available to Qt 5; for anything to qualify for Qt.py, it must be available in all bindings simultaneously, including PySide(1).
Note "Since: Qt 5.4"
sylvainberger commented
Thanks
I never realized that this logic was present in qt.py
It makes total sense.
I will use qt5.py instead
Cheers