The following additional packages required on Ubuntu in order to be able successfully compile qt projects without (Missing GL/gl.h) error message.
sudo apt install mesa-common-dev libglu1-mesa-dev freeglut3-dev
The following additional packages required on Ubuntu in order to be able successfully compile qt projects without (Missing GL/gl.h) error message.
sudo apt install mesa-common-dev libglu1-mesa-dev freeglut3-dev