Qt新安装之后出现Error while building/deploying (kit: Desktop Qt 5.7.0 GCC 64bit) When executing step "Make”

 

Ubuntu14.04初次安装Qt之后可能出现Error while building/deploying project *** (kit: Desktop Qt 5.7.0 GCC 64bit) When executing step "Make"错误。

解决方法:

 

首先,sudo apt-get install build-essential

然后尝试"run",又出现"cannot find -lGL"新错误。

最后,sudo apt-get install libqt4-dev

再次尝试"run",程序成功运行。

完美解决!

猜你喜欢

转载自www.cnblogs.com/lvdongjie/p/9816606.html