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
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
转载于:https://my.oschina.net/soitravel/blog/295006