1.编译qt提示缺少GL.h 输入命令:sudo yum install mesa-libGL-devel mesa-libGLU-devel 如下图 然后一路y y y最后提示更新完毕,在编译qt即可。 2. 相关文章: