# I encountered an error when using QT and VTK

**URL:** https://discourse.vtk.org/t/i-encountered-an-error-when-using-qt-and-vtk/6559
**Category:** Support
**Created:** [September 6, 2021, 3:26am UTC](https://discourse.vtk.org/t/i-encountered-an-error-when-using-qt-and-vtk/6559 "2021-09-06T03:26:26Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![loufear](https://discourse.vtk.org/user_avatar/discourse.vtk.org/loufear/32/3150_2.png) [@loufear](https://discourse.vtk.org/u/loufear)
#### Post date: [September 6, 2021, 8:01am UTC](https://discourse.vtk.org/t/i-encountered-an-error-when-using-qt-and-vtk/6559/7 "2021-09-06T08:01:38Z")

</div>

> [@vtkGPUVolumeRayCastMapper and Qt (bug?)](https://discourse.vtk.org/t/vtkgpuvolumeraycastmapper-and-qt-bug/1640):
>
> Hello everyone, I’m working on Windows 10 1903, with Visual Studio 2017 (19.16.27031.1), VTK 8.2 and Qt 5.12.4. My graphic cards is a RTX 2080 Max-Q and the Nvidia driver version is 431.70. I try to use vtkGPUVolumeRayCastMapper inside a Qt window. I test the example MedicalDemo4 by replacing vtkFixedPointVolumeRayCastMapper by vtkGPUVolumeRayCastMapper and it’s working great inside a VTK Window. After that, I used the RenderWindowNoUiFile example and add the vtkVolume to the renderer. But…

- I think his situation is the same as mine

---

_[View the full topic](https://discourse.vtk.org/t/i-encountered-an-error-when-using-qt-and-vtk/6559)._
