1.所需要的包
libqt4-debug
libqt4-gui
libqt4-qt3support
libqt4-sql
qt4-designer
qt4-dev-tools
qt4-doc
qt4-qtconfig
推荐安装前删除已安装的老版本
2.安装c++编译器
build-essential
3.ctags
exuberant-ctags代码补全
4.QDevelop
免费的IDE
http://qdevelop.free.fr
可以得到执行安装文件或者原代码。因为这个开发环境是通过qt实现的,对学习qt也有帮助
5."Hallo World"
通过菜单Project->new project创建一个新工程



代码加执行
#include
#include
int main( int argc, char *argv[] )
{
QApplication app( argc, argv );
QPushButton hello( "Hallo Welt!" );
hello.resize( 100, 30 );
hello.show();
return app.exec();
}
