[vtkusers] qxcbintegration cannot create platform opengl context neither glx nor egl are enabled
newcfd
newcfd at yahoo.com
Wed Aug 8 22:51:30 EDT 2018
just switched to use QVTKOpenGLWidget from QVTKWidget. When the qt GUI is
launched, I got the error message above. I am using vmWare on Ubuntu.
The code I use is as follows:
vtkNew<QVTKOpenGLWidget> widget;
vtkNew<vtkRenderer> renderer;
vtkNew<vtkGenericOpenGLRenderWindow> render_window;
render_window->AddRenderer(renderer );
widget->SetRenderWindow( render_window );
What is the problem? Is QVTKOpenGLWidget stable?
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
More information about the vtkusers
mailing list