# fatal error: QVTKOpenGLNativeWidget.h: No such file or directory (when building the BorderWidgetQt)

**URL:** https://discourse.vtk.org/t/fatal-error-qvtkopenglnativewidget-h-no-such-file-or-directory-when-building-the-borderwidgetqt/1459
**Category:** Support
**Created:** [July 31, 2019, 10:22am UTC](https://discourse.vtk.org/t/fatal-error-qvtkopenglnativewidget-h-no-such-file-or-directory-when-building-the-borderwidgetqt/1459 "2019-07-31T10:22:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mkhalil](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@mkhalil](https://discourse.vtk.org/u/mkhalil)
#### Post date: [July 31, 2019, 10:22am UTC](https://discourse.vtk.org/t/fatal-error-qvtkopenglnativewidget-h-no-such-file-or-directory-when-building-the-borderwidgetqt/1459/1 "2019-07-31T10:22:12Z")

</div>

Hi All,

I hope you can help me!

I finished setting up VTK and I tested it on Sphere example, and it worked!

Now I am trying to setup Qt to make a GUI for my project.

I installed the latest QT5.13:

 ![Screenshot%20from%202019-07-31%2012-19-08](https://discourse.vtk.org/uploads/default/original/1X/5952638c44588f56f2a9aba58c8a8d7810a5f246.png)

and reconfigured the VTK to include QT.

Cmake configures and generates BorderWidgetQt, but when I try to build it I get this error:

 ![Screenshot%20from%202019-07-31%2012-20-50](https://discourse.vtk.org/uploads/default/original/1X/0f60f320452ec027c143522b77f9baf452dc7684.png)

Do you guys know what I did wrong?

Thank you!

---

<div class="post-metadata">

### Author: ![WenQing\_Wan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/wenqing_wan/32/8096_2.png) [@WenQing\_Wan](https://discourse.vtk.org/u/WenQing_Wan)
#### Post date: [December 5, 2023, 6:24am UTC](https://discourse.vtk.org/t/fatal-error-qvtkopenglnativewidget-h-no-such-file-or-directory-when-building-the-borderwidgetqt/1459/2 "2023-12-05T06:24:51Z")

</div>

have you solved this problem? I am encountering this problem too! 🥲
