虚拟机中新安装的QT 报错:
不能找到 GL/gl.h
编译出现如下错误提示:
/usr/bin/ld: cannot find -lGL
是因为缺少了OpenGL核心库,安装即可:
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
原文