[PySide] QOpenGLContext::versionFunctions() returns type QAbstractOpenGLFunctions
Maxime Lemonnier
maxime.lemonnier at gmail.com
Tue Feb 26 19:37:05 CET 2019
Hi,
porting my app from PyQt5 to PySide2 (5.12, PyPI latest)
QOpenGLContext.versionFunctions(some_profile) returns type
QAbstractOpenGLFunctions with a absent API.
In PyQt5, it would returned a properly casted e.g. QOpenGLFunctions_4_1_Core*
type which would allow me to use the gl API.
Is there a workaround?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20190226/5137ff4a/attachment.html>
More information about the PySide
mailing list