<div dir="ltr"><div>Hi,</div><div><br></div>You can take a look into VTK/GUISupport/Qt/Testing/Cxx/QVTKOpenGLWidget* files for working example.<div><br></div><div>Best regards,</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Thu, Aug 9, 2018 at 4:51 AM, newcfd via vtkusers <span dir="ltr"><<a href="mailto:vtkusers@public.kitware.com" target="_blank">vtkusers@public.kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">just switched to use QVTKOpenGLWidget from QVTKWidget. When the qt GUI is<br>
launched, I got the error message above. I am using vmWare on Ubuntu.<br>
The code I use is as follows:<br>
     vtkNew<QVTKOpenGLWidget> widget;<br>
     vtkNew<vtkRenderer> renderer;<br>
     vtkNew<<wbr>vtkGenericOpenGLRenderWindow> render_window;<br>
     render_window->AddRenderer(<wbr>renderer );<br>
     widget->SetRenderWindow( render_window );<br>
What is the problem? Is QVTKOpenGLWidget stable?<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>