[PyQt] Opengl examples does not work on Windows

David Boddie david at boddie.org.uk
Thu Dec 11 23:51:48 GMT 2014


On Thu Dec 11 16:53:20 GMT 2014, Kamil Okrasa wrote:

> Long story short, none of PyQt5 OpenGL examples, except
> openglwindow.py, work on Windows. [1] does not work either. The code
> raises OpenGL.error.GLError, err=1282, invalid operation on every
> PyOpenGL call.
> 
> I'm using Python 3.4.2 win32, PyQt5 5.3.2 and PyOpenGL 3.1.0 (with and
> without _accelerate). Everything works fine on Linux with similar
> setup. Examples also work fine in PyQt4 on both platforms. Any ideas?

Have you tried the C++ OpenGL examples supplied with Qt? Do they work as
expected?

Regards,

David


More information about the PyQt mailing list