Skip to the content.

Qt on Linux


When you install Qt on Linux and try to compile projects, you might get an error message saying “gl.h not found”, or something similar. You may be able to fix it by install mesa-libGL-devel. For example, on CentOS,

sudo yum install mesa-libGL-devel

will do. On Ubuntu,

sudo apt-get install libgl1-mesa-dev

Back