# libQVTKWidgetPlugin.so for QtCreator

**URL:** https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993
**Category:** Support
**Created:** [March 6, 2022, 10:53pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993 "2022-03-06T22:53:08Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![BlueKnight7](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/838e76/32.png) [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)
#### Post date: [March 6, 2022, 10:53pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/1 "2022-03-06T22:53:08Z")

</div>

[https://vtk.org/Wiki/VTK/Tutorials/QtSetup](https://vtk.org/Wiki/VTK/Tutorials/QtSetup) talks about the qt creator plugin. I can’t seem to find it when I build with QT5 enabled. Is the QtSetup webpage out of date or have I missed something during my build?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [March 6, 2022, 11:02pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/2 "2022-03-06T23:02:06Z")

</div>

deprecated and removed in 9.1.

The wiki is very much outdated a this point.

---

<div class="post-metadata">

### Author: ![BlueKnight7](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/838e76/32.png) [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)
#### Post date: [March 6, 2022, 11:22pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/3 "2022-03-06T23:22:03Z")

</div>

Okay. So how do I get QtCreator to see the VTK stuff?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [March 7, 2022, 7:59am UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/4 "2022-03-07T07:59:42Z")

</div>

Adding it manually in the .ui works great.

---

<div class="post-metadata">

### Author: ![BlueKnight7](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/838e76/32.png) [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)
#### Post date: [March 7, 2022, 1:37pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/5 "2022-03-07T13:37:57Z")

</div>

I don’t use .ui files. Is there an example?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [March 7, 2022, 1:43pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/6 "2022-03-07T13:43:00Z")

</div>

There are lots of Qt based examples in VTK/Examples

---

<div class="post-metadata">

### Author: ![BlueKnight7](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/838e76/32.png) [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)
#### Post date: [March 7, 2022, 1:50pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/7 "2022-03-07T13:50:47Z")

</div>

I’ve looked at these 4. The ui files are generally the result of using the Qt Designer crutch. This doesn’t show me how to replicate what the plugin did for Qt Creator.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [March 7, 2022, 1:59pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/8 "2022-03-07T13:59:01Z")

</div>

You can use Qt desginer and then put whatever widgets you want in the .ui.

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [March 8, 2022, 1:55pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993/9 "2022-03-08T13:55:15Z")

</div>

Hello, Roger,

I think you’re better off by using the “promoting widget” mechanism of Qt Creator/Designer. That is discussed here: [Run VTK example in Qt - #4 by kerim](https://discourse.vtk.org/t/run-vtk-example-in-qt/2569/4) . Though, for VTK 9.1, the class is `QVTKOpenGLNativeWidget`.

I hope this helps,

Paulo
