[PyQt] Ubuntu, PyQt/Qt 5.9, QOpenGLShaderProgram "is not linked"

Chris Pezley chris.pezley at quantumwise.com
Mon Jul 17 08:56:10 BST 2017

On 07/15/2017 07:38 PM, David Cortesi wrote:
> Probably some stupid misconfiguration? But a program that works 
> perfectly on Win7 and almost perfectly on MacOS, on Ubuntu the window 
> is completely black and a series of many iterations of the following 
> appear in stderr:
> > QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is 
> not linked
> > QOpenGLShaderProgram: could not create shader program
> > QOpenGLShader: could not create shader
> > shader compilation failed: ""
> The program uses only standard widgets e.g. QMainWindow, QListView, 
> QWebEngineView. No explicit refs to QOpenG* anything.
> Suggestions welcome...
> Dave Cortesi
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Try commenting out parts of the application bit by bit until you can 
find out which component it is that is causing this. Once you have that 
it will be easier to help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170717/79b329da/attachment.html>

More information about the PyQt mailing list