一、qt creator 运行提示/usr/bin/ld: cannot find -lGL
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:264: recipe for target 'helloworld' failed
make: *** [helloworld] Error 1
01:21:06: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project helloworld (kit: Desktop Qt 5.12.12 GCC 64bit)
When executing step "Make"
二、解决方案
sudo apt install mesa-common-dev libglu1-mesa-dev
三、点击run可以执行
四、参考文章