$ sudo apt-get install build-essential qtcreator qt5-default
sudo vi /usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/linux.conf
# QMAKE_LIBS_OPENGL = -lGL
# QMAKE_LIBS_OPENGL_ES2 = -lGLESv2
resolve 'cannot find -lGL' ld issue
ubuntu 16 LTS install QT creator
点赞
收藏