Ubuntu18.04安裝qt後的問題

初次安裝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",程序成功運行。
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章