1.安装qt。
System->Administration->Synaptic Package Manager。安装libqt4-core,libqt4-debug,libqt4-dev,libqt4-gui,libqt4-qt3support,libqt4-sql,qt4-designer,qt4-dev-tools,qt4-doc,qt4-qtconfig
2.安装eclipse。或使用免安装eclipse(eclipse-cpp-europa-winter-linux-gtk.tar.gz)。
3.解压qt插件(qt-eclipse-integration-linux.x86-1.5.1.tar.gz)。将解压后文件夹中的features和plugins覆盖eclipse安装路径下的features和plugins。
4.运行eclipse,windo->Preferences->Qt->Add.在弹出的对话框中填入Version Name,Bin Path和Include Path中分别填入:Qt4,/usr/bin,/usr/include/qt4