初次安装Qt之后可能出现
19:57:50: Could not start process "make"
Error while building/deploying project untitled (kit: Desktop Qt 5.11.0 GCC 64bit)
When executing step "Make"
19:57:50: Elapsed time: 00:00.
解决方法:
首先,sudo apt-get install build-essential
然后尝试"run",又出现"/usr/bin/ld: cannot find -lGL"新错误。
最后,sudo apt-get install libqt4-dev
再次尝试"run",程序成功运行。

本文详细介绍了在初次安装Qt后遇到的构建错误Could not start process 'make'及cannot find -lGL的解决方案。通过安装build-essential和libqt4-dev包,成功解决了Qt项目的构建和运行问题。
5733

被折叠的 条评论
为什么被折叠?



