[vtkusers] qxcbintegration cannot create platform opengl context neither glx nor egl are enabled

Mathieu Westphal mathieu.westphal at kitware.com
Thu Aug 9 02:19:22 EDT 2018


Hi,

You can take a look into VTK/GUISupport/Qt/Testing/Cxx/QVTKOpenGLWidget*
files for working example.

Best regards,

Mathieu Westphal

On Thu, Aug 9, 2018 at 4:51 AM, newcfd via vtkusers <
vtkusers at public.kitware.com> wrote:

> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180809/b40cd89d/attachment.html>


More information about the vtkusers mailing list