<div dir="ltr"><div><div>Hi Mike,<br><br></div>What version of VTK are you using? I
know there were some fixes that went in for QVTKWidget2 last summer (I
think right around the time VTK 7 was released). If you are using VTK
6.X then those may have fixed the problem you are seeing.<br><br></div>Shawn</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 2:44 PM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-family:Fira Mono;font-size:12pt" bgcolor="#FFFFFF" text="#000000">
<div style="font-size:12pt;font-family:Fira Mono">We are also getting
a similar issue on OS X? Has anyone else seen this problem? Is
QVtkWidget2 ready for use or does it need more development time on OS X?<br><br><br>Thanks<br>--
<br><span style="font-family:Fira Mono">Mike Jackson
[<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>]</span><br><br>on March 10 2016 Thales Luis
Rodrigues Sabino wrote:<br><blockquote type="cite">I'm building an
application that uses VTK for visualization.<br>My initial intent was to
process large volumes of data.<br>My application is being built with Qt
+ VTK.<br><br>When I started coding the visualization toolkit with VTK I
found the<br>*QVTKWidget*. So far so good, I found another one, called
*QVTKWidget2*. In<br>the *QVTKWidget2*.h header there is the following
statement:<br><br>*// .NAME QVTKWidget2 - Display a vtkRenderWindow in a
Qt's QGLWidget.*<br>*// .SECTION Description*<br>*// QVTKWidget2
provides a way to display VTK data in a Qt OpenGL widget.*<br><br>Well,
since this class uses the *QGLWidget* (which BTW is now deprecated,<br>replaced
by *QOpenGLWidget*), I decided to use this one. I also based my<br>decision
in some discussion I read about *QVTKWidget2* being a future<br>replacement
for the *QVTKWidget* class.<br><br>Everything was fine until I decided
to run my application on MacOS and the<br>QVTKWidget2 object was
crashing in initialization.<br><br>I then replaced my widget to one of
*QVTKWidget* and everything is now<br>working fine (at least in the
initial tests).<br><br>So, with this context, my question is, do I get
any advantage by using<br>*QVTKWidget2*?<br><br>My first thought was
*'yes'*, since the *QVTKWidget* is a subclass of<br>*QWidget*.<br><br>Hope
someone could clarify this for me.<span class="HOEnZb"><font color="#888888"><br><br>-- <br>Thales Luis Rodrigues
Sabino<span style="color:rgb(51,102,153)"></span></font></span></blockquote><br><div><br><span style="font-family:Fira Mono"></span></div></div>
</div>
<br>_______________________________________________<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/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_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=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>