Ubuntu + Qt 5.2 Lenarning Question

Question 1: ubuntu下Qt cannot find -lGL

在ubuntu下使用Qt 编译时候遇上了cannot find -lGL错误,

Answer: sudo apt-get install libgl1-mesa-dev


sudo apt-get install libqt4-dev或者sudo apt-get install libgl1-mesa-dev或者libgl1-mesa-dev或者libglu1-mesa-dev

Thanks to : http://blog.csdn.net/csf111/article/details/17073723



你可能感兴趣的:(linux,ubuntu,qt)