在装完Qt Creator后尝试创建项目时出现 No Valid Kits Found. 字样,后来发现是没安装Qt的SDK的原因,
然后在https://download.qt.io/archive/qt/5.8/5.8.0/qt-opensource-linux-x64-5.8.0.run.mirrorlist下载了Qt5.8
成功创建了第一个Qt Widgets Application后在尝试运行时出现两个Error:
Cannot find -IGL collect2:error:Id returned 1 exit status
在看了n篇CSDN博客无效后,在Stack Overflow上找到答案,输入下面两个命令成功解决
sudo apt-get install libgl-dev sudo apt-get install libgl1-mesa-dev
CSDN博客: https://blog.csdn.net/arackethis/article/details/42837675
Stack Overflow提问:https://*.com/questions/33293955/qt5-cannot-find-lgl