Install libqt5opengl5-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libqt5opengl5-dev
Qt 5 OpenGL library development files
Qt is a cross-platform C++ application framework. Qt's primary feature is its rich set of widgets that provide standard GUI functionality. . This package contains the development files needed to build Qt 5 applications using QtOpenGL library.