系统:Ubuntu18.04软件:QtCreator4.8 Qt5.9.8编译Qt Widgets Application类型的项目时,出现错误,提示: GL/gl.h: No such file or directory原因GL相关库为安装,通过以下指令可安装GL相关库sudo apt-get install mesa-common-dev sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev