How to install QT on Ubuntu
2016-08-12 本文已影响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