以下内容转载自 http://wiki.qt.io/Install_Qt_5_on_Ubuntu
Install Qt 5 on Ubuntu
Introduction
This is a tutorial for installation of Qt 5.7.0 to Ubuntu 12.10. It may be used also for newer versions of Qt and Ubuntu. A difference for OpenGL has been found and added as a note below.
Installation Guide
- Download
Visit Qt downloads page andownload a 32-bit or 64-bit Linux installationdepending your version of Ubuntu. The installation file can be also downloaded through the command line using wget.
Example:
wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run
- Install
Adjust permission,run the installer and follow the instruction to complete the installation.