Ubuntu下Qt编译报错“cannot find -lGL”的解决方案时间:2021-03-16 19:52:00转自cannot find -lGL Solved the problem by installing the “libglu1-mesa-dev” package. sudo apt-get install libglu1-mesa-dev -y