In case it helps, the example works properly on my system, Kubuntu 11.10,
64bit. You could also try running OpenGL examples that python-qt4-doc package
provides.
________________________________
From: Peter Würtz <pwue...@googlemail.com>
To: pyqt@riverbankcomputing.com
Sent: Sunday, January 22, 2012 1:23 PM
Subject: [PyQt] GraphicsView and Opengl
Hi,
I'm having trouble using QGraphicsView on a QGLWidget. I'm getting a
white window and errors like this these:
QGLShader: could not create shader
Vertex shader for simpleShaderProg (MainVertexShader &
PositionOnlyVertexShader) failed to compile
This is an example application triggering the problem:
http://pastebin.com/R0aa8ejs
The 'same' program works flawlessly when using C++/Qt. I'm seeing the
exact behavior when using PySide instead of PyQt4 by the way. Is there
some special treatment required when using python + opengl?
My system is Ubuntu 11.10, opengl is provided by the nvidia driver.
Thanks in advance.
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt