[vtkusers] Qt VTK OpenGL Not Supported problem

meakcey meakcey at gmail.com
Wed Sep 12 09:24:45 EDT 2018

I am trying to embed QVTKOpenGLWidget into Qt Widget application but I am
having such a strange error when I run the application in release mode.
I added QOpenGLWidget to ui and promoted that to custom class inherited from

When I run it I am getting error below:

ERROR: In C:\Program
Files\VTK\source\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 785
vtkGenericOpenGLRenderWindow (000002BF9664D7F0): GLEW could not be
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
versionFunctions: Not supported on OpenGL ES

I am not trying to build that with OpenGL ES actually but I think Qt is
trying to run. 
If I start the release .exe outside of the Qt it is running without any
What could be the root cause of the problem?


Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html

More information about the vtkusers mailing list