1 cannot find -lGL
sudo apt-get install libgl1-mesa-dev
2 QtQuick.Controls" is not installed
a 查看環境 輸入命令 env
b 配置Qt環境
命令 gedit ~/.bashrc
export PATH="/opt/Qt5.3.1/5.3/gcc_64/bin:/opt/Qt5.3.1/5.3/gcc_64/lib:/opt/Qt5.3.1/5.3/gcc_64/qml":$PATH
c 安裝依賴庫
命令 sudo apt-get install qtdeclarative5-controls-plugin
sudo apt-get install qtdeclarative5-quicklayouts-plugin
d 執行完後 將可以正常運行了