erro cmake: QGLWidget: Nenhum arquivo ou diretório
Eu estou tentando usar cmake com Qt, mas recebo o seguinte erro quando eu construo.
QGLWidget: No such file or directory
No meu arquivo CMakeLists.txt eu tenho:
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
find_package(Qt5Widgets)
qt5_use_modules(SHWidget Widgets)