debhttp://download.tuxfamily.org/3v1deb feisty eyecandy
deb-srchttp://download.tuxfamily.org/3v1deb feisty eyecandy
源在/etc/apt/sources.list
然后在sudo apt-get install qt4-dev-tools qt4-examples qt4designer qt3-assistant python-qt4
完成了!
测试:
1,先写个小程序
#include
#include
int main( int argc, char **argv )
{
QApplication a( argc, argv );
QPushButton hello( "Hello world!", 0 );
hello.resize( 100, 30 );
a.setMainWidget( &hello );
hello.show();
return a.exec();
}然后执行:
sudo qmake -project
sudo qmake
sudo make
./文件名
就成功了!
jizhongzhe 于 2008-03-06 22:22:23发表:
装不上阿
大虾帮个忙把
jizhongzhe 于 2008-03-06 20:11:36发表:
无法找到软件包 qt4-examples