[Interest] QOpenGLShaderProgram: could not create shader program

Nuno Santos nunosantos at imaginando.pt
Sat May 23 02:20:42 CEST 2015


Hi,

I have build qt statically with the following configure command:

configure -prefix c:\qt\5.4\msvc2013_opengl_x86_static -commercial -release -static -nomake examples -nomake tools -nomake tests -opengl desktop -skip webkit -skip multimedia -skip activeqt

Now that I’m trying to run a program, using a QQmlApplicationEngine, the mail qml, which has a Window at is root opens. 

However, as soon as I add a rectangle, nothing appears and on the output the following appears:

SetProcessDpiAwareness failed: "COM error 0x80070005  (Unknown error 0x0ffffffff80070005)"
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked

Does anyone has a clue why this happens? Doesn’t seem a graphic cards problem I have OpenGL. I have already tested it with Qt official kits.

Nuno


More information about the Interest mailing list