<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body
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 class="moz-txt-link-abbreviated" href="mailto:mike.jackson@bluequartz.net">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.<br><br>-- <br>Thales Luis Rodrigues
Sabino<span style="color: rgb(51, 102, 153);"></span></blockquote><br><div
class="moz-signature"><br><span style="font-family: Fira Mono;"></span></div></div>
</body>
</html>