How to install QT on Ubuntu

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

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容