I am trying to use cmake with Qt, but I get the following error when I build.
QGLWidget: No such file or directory
In my CMakeLists.txt file I have:
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
find_package(Qt5Widgets)
qt5_use_modules(SHWidget Widgets)