Linxu QT环境配置

[原文URL]:http://wiki.qt.io/Install_Qt_5_on_Ubuntu


 

  • Install
chmod +x qt-opensource-linux-x64-5.7.0.run
./qt-opensource-linux-x64-5.7.0.run
  • Install g++

 sudo apt-get install build-essential

  • Install gdb++

 sudo apt-get install gdb

  • Install generic font configuration library - runtime
sudo apt-get install libfontconfig1
  • Install OpenGL libraries
sudo apt-get install mesa-common-dev
sudo apt-get install libglu1-mesa-dev 
  • Configure a compiler

   Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.

 

posted @ 2017-08-06 17:16  xliang1015  阅读(160)  评论(0)    收藏  举报