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创建一个新工程
执行[code]#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();
}[/code]
szzfq61 于 2008-03-26 10:10:50发表:
兄弟,如何设置运行时的环境变量啊?(unbuntu7.10,按照上面的步骤安装的)
我选到/usr/bin下,qmake.exe ,..., designer.exe 等等,都不起作用,
如何设定,可以支个招么?
谢谢!