[PyQt] Opengl examples does not work on Windows

Kamil Okrasa kamokr at gmail.com
Fri Dec 12 00:39:48 GMT 2014

2014-12-12 0:51 GMT+01:00 David Boddie <david at boddie.org.uk>:
> 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?

...OK, I need to get some sleep. As I mistakenly replied to your
private mail, all the examples from Qt 5.3 and Qt 5.4 I've tested
(hellogl, grabber) work correctly.



More information about the PyQt mailing list