美文网首页
ubuntu下安装Qt5.7

ubuntu下安装Qt5.7

作者: OldSix1987 | 来源:发表于2017-03-03 23:44 被阅读1257次

根据官方文档一步步操作即可


  • DownLoad : wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run

  • Install:

    • chmod +x qt-opensource-linux-x64-5.7.0.run
    • ./qt-opensource-linux-x64-5.7.0.run
    • sudo apt-get install build-essential
    • sudo apt-get install libfontconfig1
  • Install OpenGL libraries:

    • sudo apt-get install mesa-common-dev
    • sudo apt-get install libglu1-mesa-dev -y
  • Configure compiler

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


官方文档

相关文章

网友评论

      本文标题:ubuntu下安装Qt5.7

      本文链接:https://www.haomeiwen.com/subject/kgqdgttx.html