美文网首页
How to install QT on Ubuntu

How to install QT on Ubuntu

作者: 仍是少年呀 | 来源:发表于2016-08-12 00:26 被阅读45次

    Just Follow Me

    Step 1: Down Load

    You can just download it from Qt offical site.Choose the very suitable version you need.

    Step 2: Checkout Your Downloaded File

    If you are new to Linux just like me,you may have nothing to do with the file which filename is end of ".run". Now I tell you how:

    • 1 open the Terminal
    • 2 Input these commands:

    sudo chmod +x filename.run
    ./filename.run

    Step 3: Just install it follow the tips

    when you finish it ,you may think you have done all the things.But not at all.Then please install the libs for Qt.
    These commands will help:

    sudo apt-get install libgl1-mesa-dev

    or

    libgl1-mesa-dev

    or

    libglu1-mesa-dev

    Step 4: I think the help docs you will need

    sudo apt-get install qt5-doc

    相关文章

      网友评论

          本文标题:How to install QT on Ubuntu

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