Saturday, September 28, 2013

error: GL/gl.h: No such file or directory

If you face the error of "GL/gl.h: No such file or directory" whild building your Qt project, you are missing the OpenGl components.

Refer to the post "cannot find -lGL" to install libgl1-mesa-dev and libglu1-mesa-dev.