1、下载qt_sdk安装???
2、命令安装(在线安装)
首先在命令行输入apt-get update
然后输入 apt-cache search qtcreator
然后输入 apt-get install qtcreator
3、下载QT的源码自己编译。
自己下载QT源码,如: qt-soruce-4.7.4.tar
在命令行输入 tar –xzvf qt-soruce-4.7.4.tar解压源码
然后参照http://wiki.qt.io/Building_Qt_5_from_Git这个网址的方法(见下面)
先安装QT的环境然后手动编译QT源码即可。
Qt for Linux/X11 - Building fromSource
You can download the Qt 5 sources from the Downloads page. For more information, visit the Getting Started with Qt page.
Qt for X11 has some requirements that are given in more detailin the Qt for X11 Requirementsdocument.
Step 1:Installing the License File (Commercial Editions Only)
If you have the commercial edition of Qt, install your licensefile as $HOME/.qt-license
.
For the openso