Failed to create fragment programs.
Hi all,
"QOpenGLPaintEngine: Failed to create fragment programs."
When doing OpenGL in my application, I get this error/warning. The dialog seems to render correctly still, but can anyone provide any insight as to why this is happening?
Thanks,
Jee
Re: Failed to create fragment programs.
yes, it means your openGL code is trying to run a fragment shader, but fails to run the shader program.
Re: Failed to create fragment programs.
Qt probably tried to use some optimized code but failed to do that because of the lack of support in your hardware. This is probably only a warning.
Re: Failed to create fragment programs.
Re: Failed to create fragment programs.
Quote:
Originally Posted by
wysota
Qt probably tried to use some optimized code but failed to do that because of the lack of support in your hardware. This is probably only a warning.
Ok, here's some more info:
I have a class derived from QGLWidget, and I am creating a QPainter in its paintEvent() function. Most of the time this works, but every so often, I get the Failed warning. This occurs when I create the QPainter object with "this" (the QGLWidget's child class) as the paramter. Does this ring a bell with anyone?
BTW, my hardware is about a year old, and should support Fragment Programs.
Jeeman
Re: Failed to create fragment programs.
Try the Qt 4.3 demo. See if you get similar messages.