1、下载安装包:qt-x11-opensource-src-4.3.0.tar.gz或者到src官网ftp://ftp.qt.nokia.com/qt/source/
2、解压tar xvfz qt-x11-opensource-src-4.3.0.tar.gz
3、生成makefile
./configure
这时候会出现:“Which edition of Qt do you want to use?”
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.
第一个是商业版,第二个是自由版。
选择 'o'(Qt/嵌入式自由版是Qt为了开发自由软件提供的嵌入式版本)。
这时候,出现许可界面。
选择 'yes' 接受许可协议。
开始生成 makefile 文件( 5 -10 分钟)
4、编译
gmake(两个小时左右)
5、安装
gmake install
默认安装到/usr/local/Trolltech/Qt-4.3.0(5-10分钟)
无错误,安装完毕。
执行/usr/local/Trolltech/Qt-4.3.0/bin/designer ,看见