[PyQt] Programs that need opengl won't run.

Matthew Ngaha chigga101 at gmail.com
Fri Feb 28 13:20:53 GMT 2014


Hey I just installed PyQt5 on my new PC. Everything that involves
opengl doesn't seem to work. At 1st the programs in the PyQt5 example
directories said PyOpenGl isn't installed. After installing it, every
program returns this error:


class QWindowsEGLStaticContext *__cdecl WindowsEGLStaticContext::create(void):
Could not initialize egl display: error 12289

but specific programs include extra errors like:

overpainting.py
QWidget::repaint: Recursive repaint detected

openglwindow.py
QOpenGLFunctions created with non-current context
QOpenGLShaderProgram::attributeLocation( posAttr ): shader program is not linked

QOpenGLShaderProgram::attributeLocation( colAttr ): shader program is not linked

QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked

QtQuick/Qml programs won't run either as they fail to load the opengl
context. This is weird as when i installed PyQt5 on my mother's PC i
didn't get any of these errors and didn't get promoted that I needed
to install PyOpenGl.

Any ideas?


More information about the PyQt mailing list