<div dir="ltr">Okay, for now I'll just deprecate these classes since they still "work" for some. QVTKOpenGLWidget is the replacement for QVTKWidget. It's designed to work more well integrated with Qt's OpenGL management.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 20, 2017 at 2:36 PM, Haocheng Liu <span dir="ltr"><<a href="mailto:haocheng.liu@kitware.com" target="_blank">haocheng.liu@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Jul 20, 2017 at 1:59 PM, Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>2017-07-20 19:37 GMT+02:00 Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>>:<br>
> Folks.<br>
><br>
> As I work on dropping Qt 4 support in VTK, I am trying to figure out how<br>
> best to deprecate old classes.<br>
><br>
> With Qt 5, classes like QVTKWidget, QVTKWidget2, QVTKPaintEngine etc don't<br>
> really make much sense. While they can compile with Qt 5, they won't work<br>
> well (if at all). I wonder if I should just remove them, rather than mark<br>
> them as deprecated since they really are not meant to be used with Qt 5.<br>
<br>
</span>While I'm all for you guys dropping Qt 4, I think there should be a<br>
deprecation period for at least QVTKWidget.<br>
<br>
It's only recently that we ported our app to the new QVTKOpenGLWidget,<br>
before that we used QVTKWidget with Qt 5 without any big problems. The<br>
only real reason for the porting is that we wanted HiDPI working<br>
properly (and well, it made sense anyway), so I can imagine a lot of<br>
others are still using QVTKWidget.<br>
<span class="m_-6840925709336546949HOEnZb"><font color="#888888"><br></font></span></blockquote></span><div>+1</div><div>Image feature extractor and GrabCut in SMTK&CMB use QVTKWidget. If these classes are removed, a proper substitution is needed.</div><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="m_-6840925709336546949HOEnZb"><font color="#888888">
Elvis<br>
</font></span><div class="m_-6840925709336546949HOEnZb"><div class="m_-6840925709336546949h5"><br>
><br>
> Thoughts?<br>
><br>
> Utkarsh<br>
><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<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtk-developers</a><br>
><br>
><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/opensou<wbr>rce/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-6840925709336546949gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Best regards<div>Haocheng</div><div><br></div><div>Haocheng LIU</div><div><span style="color:rgb(0,0,0);font-size:12.8px">Kitware, Inc.</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">R&D Engineer</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">21 Corporate Drive</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">Clifton Park, NY 12065-8662</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">Phone: </span><a href="tel:(518)%20881-4421" value="+15188814443" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">518-881-4421</a><br></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br></div>