# VTK support for Qt

**URL:** <https://discourse.vtk.org/t/vtk-support-for-qt/6909>\
**Category:** Development\
**Created:** [October 18, 2021, 2:35pm UTC](https://discourse.vtk.org/t/vtk-support-for-qt/6909 "2021-10-18T14:35:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SurajJadhav](https://discourse.vtk.org/user_avatar/discourse.vtk.org/surajjadhav/32/3874_2.png) [@SurajJadhav](https://discourse.vtk.org/u/SurajJadhav)\
**Post date:** [October 18, 2021, 2:35pm UTC](https://discourse.vtk.org/t/vtk-support-for-qt/6909/1 "2021-10-18T14:35:16Z")

</div>

I m using Ubuntu 20.04 and Qt5.13.2.  
I was using VTK 7.1 till now and had generated QVTKWidgetPlugin.so file to be used in Qt. Now I have upgraded my VTK to latest version 9.1.0 and I have seen in multiple posts that QVTKWidgetPlugin is deprecated from 8.2 onwards and is replaced by QVTKOpenGLWidget. How to generate it’s .so file and use it in Qt?

---

<div class="post-metadata">

**Author:** ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Post date:** [October 19, 2021, 4:30am UTC](https://discourse.vtk.org/t/vtk-support-for-qt/6909/2 "2021-10-19T04:30:50Z")

</div>

This example may help [SideBySideRenderWindowsQt](https://kitware.github.io/vtk-examples/site/Cxx/Qt/SideBySideRenderWindowsQt/), it uses [QVTKOpenGLNativeWidget](https://vtk.org/doc/nightly/html/classQVTKOpenGLNativeWidget.html).
