/opt/Qt5.6.2/5.6/gcc_64/include/QtGui/qopengl.h:120: error: GL/gl.h: No such file or directory
操作系统 linux mint
Qt5.6.2
使用Qt5.6.2 编译时, 出现/opt/Qt5.6.2/5.6/gcc_64/include/QtGui/qopengl.h:120: error: GL/gl.h: No such file or directory
解决办法:
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev