[PySide] QOpenGLContext::versionFunctions() returns type QAbstractOpenGLFunctions
Maxime Lemonnier
maxime.lemonnier at gmail.com
Wed Feb 27 16:16:50 CET 2019
Done,
https://bugreports.qt.io/browse/PYSIDE-955
thank you for your hard work.
I managed to circumvent the problem using PyOpenGL. I have a 3d viewport.
But it crashes without warnings if I start it without attaching a debugger.
Something nasty.
I can't wait for the day PySide reaches feature/stability parity with
PyQt5, which annoys me for other reasons.
On Wed, Feb 27, 2019 at 9:25 AM Cristián Maureira-Fredes <
Cristian.Maureira-Fredes at qt.io> wrote:
> 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 <pyside-bounces at qt-project.org> on behalf of Maxime
> Lemonnier <maxime.lemonnier at gmail.com>
> Sent: 26 February 2019 19:37
> To: pyside at qt-project.org
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20190227/5d605fdd/attachment.html>
More information about the PySide
mailing list