# Is it possible to use VTK9 with qt6 QRhi and QML ?

**URL:** https://discourse.vtk.org/t/is-it-possible-to-use-vtk9-with-qt6-qrhi-and-qml/6946
**Category:** Support
**Created:** [October 22, 2021, 8:25pm UTC](https://discourse.vtk.org/t/is-it-possible-to-use-vtk9-with-qt6-qrhi-and-qml/6946 "2021-10-22T20:25:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Julienchz](https://discourse.vtk.org/user_avatar/discourse.vtk.org/julienchz/32/4106_2.png) [@Julienchz](https://discourse.vtk.org/u/Julienchz)
#### Post date: [October 22, 2021, 8:25pm UTC](https://discourse.vtk.org/t/is-it-possible-to-use-vtk9-with-qt6-qrhi-and-qml/6946/1 "2021-10-22T20:25:25Z")

</div>

Hello everyone,  
I would like to make a small 3D viewer with VTK 9 in Qt6 with QML. I know that it is now possible to use the QRhi class to have an abstraction with classic APIs. Can this be used with VTK? There are very few examples on the internet actually using QRhi for abstraction and none with VTK.  
Thank you

---

<div class="post-metadata">

### Author: ![John.Stone](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/a6a055/32.png) [@John.Stone](https://discourse.vtk.org/u/John.Stone)
#### Post date: [December 16, 2022, 5:07pm UTC](https://discourse.vtk.org/t/is-it-possible-to-use-vtk9-with-qt6-qrhi-and-qml/6946/2 "2022-12-16T17:07:53Z")

</div>

Yes, it’s working here:  
[https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/9763](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9763)
