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
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
yes, it means your openGL code is trying to run a fragment shader, but fails to run the shader program.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
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.
please disregard
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
Try the Qt 4.3 demo. See if you get similar messages.
Bookmarks