Hello Maxime, Since you said it does not contain a proper API, it seems to be a bug.
Can you please report it in https://bugreports.qt.io/projects/PYSIDE along with a small reproducible example. Cheers ________________________________________ From: PySide <[email protected]> on behalf of Maxime Lemonnier <[email protected]> Sent: 26 February 2019 19:37 To: [email protected] Subject: [PySide] QOpenGLContext::versionFunctions() returns type QAbstractOpenGLFunctions 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 _______________________________________________ PySide mailing list [email protected] https://lists.qt-project.org/listinfo/pyside
