On Monday 05 March 2007 18:22, Chris Mellon wrote: > On 3/5/07, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >> Beside that, I do love the Qt library and would always use it in >> preference to wx, but this is a general thing and by no means tied to the >> OpenGL-programming. After all, that actually is done using PyOpenGL > > wx and Qt support OpenGL in essentially the same manner. I believe he > took from your earlier post that Qt had its own built in OpenGL > wrapper (and thus didn't rely on PyOpenGL) but to my knowledge that is > not correct.
Yes, you need PyOpenGL (or any other suitable OpenGL wrapper) to use OpenGL with PyQt. Qt itself doesn't provide its own API for OpenGL; you just use the implementation available on your system. It is possible to get OpenGL-rendered 2D graphics without having PyOpenGL installed; you just paint on a QGLWidget in the usual way. However, I suspect that the original poster wanted to render 3D graphics, so Python bindings to the system's OpenGL library are still required. David -- http://mail.python.org/mailman/listinfo/python-list