首页 > 代码库 > linux下opengl的安装(with qt)

linux下opengl的安装(with qt)

sudo apt-get install build-essential
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install freeglut3-dev

qt的.pro文件添加:
LIBS += -lglut  \
-lGL