[vtk-developers] Guidance with dropping Qt 4

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Jul 20 15:29:42 EDT 2017


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.



On Thu, Jul 20, 2017 at 2:36 PM, Haocheng Liu <haocheng.liu at kitware.com>
wrote:

>
>
> On Thu, Jul 20, 2017 at 1:59 PM, Elvis Stansvik <
> elvis.stansvik at orexplore.com> wrote:
>
>> 2017-07-20 19:37 GMT+02:00 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>:
>> > Folks.
>> >
>> > As I work on dropping Qt 4 support in VTK, I am trying to figure out how
>> > best to deprecate old classes.
>> >
>> > With Qt 5, classes like QVTKWidget, QVTKWidget2, QVTKPaintEngine etc
>> don't
>> > really make much sense. While they can compile with Qt 5, they won't
>> work
>> > well (if at all). I wonder if I should just remove them, rather than
>> mark
>> > them as deprecated since they really are not meant to be used with Qt 5.
>>
>> While I'm all for you guys dropping Qt 4, I think there should be a
>> deprecation period for at least QVTKWidget.
>>
>> It's only recently that we ported our app to the new QVTKOpenGLWidget,
>> before that we used QVTKWidget with Qt 5 without any big problems. The
>> only real reason for the porting is that we wanted HiDPI working
>> properly (and well, it made sense anyway), so I can imagine a lot of
>> others are still using QVTKWidget.
>>
>> +1
> Image feature extractor and GrabCut in SMTK&CMB use QVTKWidget. If these
> classes are removed, a proper substitution is needed.
>
>> Elvis
>>
>> >
>> > Thoughts?
>> >
>> > Utkarsh
>> >
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Search the list archives at: http://markmail.org/search/?q=
>> vtk-developers
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://public.kitware.com/mailman/listinfo/vtk-developers
>> >
>> >
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>
>
> --
> Best regards
> Haocheng
>
> Haocheng LIU
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4421 <(518)%20881-4421>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170720/f62aef19/attachment.html>


More information about the vtk-developers mailing list