首页| 论坛| 消息

回复: 一个让我无比郁闷的初级问题
#6 [fkwcowboy 06-02 11:11]
之前应该要export QTDIR=/ 和 LD_LIBRARY_PATH吧
能说详细点吗? 
#7 [fkwcowboy 06-02 11:35]
#include
#include
int main( int argc, char **argv )
{
QApplication a( argc, argv );
QPushButton hellobtn( "Hello world!", 0 );
hellobtn.resize(100, 20 );
a.setMainWidget( &hellobtn );
hellobtn.show();
return a.exec();
}
这是代码..
#8 [浪漫天使 06-02 12:03]
qt4
include
include
试一下
#9 [fkwcowboy 06-03 10:35]
还是不行..
#10 [浪漫天使 06-03 19:46]
这样吧,建议你吧examples里面的代码重新编译试一下,比如helloword,如果这个不行的话,很可能就是你的qt安装有问题了。

<< 1 2 3 >> (2/3)

回复 发表
主题 版块