# Error when compiling master branch with GUISupportQtOpenGL

**URL:** https://discourse.vtk.org/t/error-when-compiling-master-branch-with-guisupportqtopengl/2132
**Category:** Support
**Created:** [November 24, 2019, 8:55pm UTC](https://discourse.vtk.org/t/error-when-compiling-master-branch-with-guisupportqtopengl/2132 "2019-11-24T20:55:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cesss](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cesss/32/1418_2.png) [@cesss](https://discourse.vtk.org/u/cesss)
#### Post date: [November 24, 2019, 8:55pm UTC](https://discourse.vtk.org/t/error-when-compiling-master-branch-with-guisupportqtopengl/2132/1 "2019-11-24T20:55:29Z")

</div>

When building master with VTK\_MODULE\_ENABLE\_VTK\_GUISupportQtOpenGL I’m getting the following error (I have Qt 5.12.0 if that matters):

> **src/VTK/2019-11-24/GUISupport/QtOpenGL/QVTKWidget2.cxx:488:21:**  **error:**  **no member named ‘Frame’ in ‘QGLWidget’**
> 
> this-\>Superclass::Frame();
> 
> ** ~~~~ ^**
> 
> 1 error generated.
> 
> make[2]: \*\*\* [GUISupport/QtOpenGL/CMakeFiles/GUISupportQtOpenGL.dir/QVTKWidget2.cxx.o] Error 1
> 
> make[1]: \*\*\* [GUISupport/QtOpenGL/CMakeFiles/GUISupportQtOpenGL.dir/all] Error 2
> 
> make: \*\*\* [all] Error 2

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [March 16, 2020, 2:48pm UTC](https://discourse.vtk.org/t/error-when-compiling-master-branch-with-guisupportqtopengl/2132/2 "2020-03-16T14:48:13Z")

</div>

I’ve also been seeing this. @utkarshayachit @mwestphal Thoughts? Is this fallout from the switched around class hierarchy here?

---

<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 17, 2020, 2:36am UTC](https://discourse.vtk.org/t/error-when-compiling-master-branch-with-guisupportqtopengl/2132/3 "2020-03-17T02:36:44Z")

</div>

It’s not, this class has been completely removed from master in my MR.  
This line was actually short lived, it was added late 2019 by @ken-martin in this MR :  
[https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/6137](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6137)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [March 17, 2020, 2:45pm UTC](https://discourse.vtk.org/t/error-when-compiling-master-branch-with-guisupportqtopengl/2132/4 "2020-03-17T14:45:46Z")

</div>

Ah, it was removed just a few weeks ago. I should have made more noise earlier, but I didn’t need the class at the time, so I just pushed it under a rug.
