版主,救我!!!!
好不容易将qt/e和qtopia建起来了,可又遇上了新问题,求版主救救我!!
我现查看qt/e下面的帮助文档,却看不了,我键入man qlistboxitem.3qt后,错误提示如下:
man:no such file or directory
Failed to open the message catalog man on the path NLSPATH=<none>
No manual entry for qlistboxitem.3qt
还有个问题也请版主帮忙:
我想写一个最简单的“hello whold"程序来试一试,代码如下:
#include <qapplication.h>
#include <qmainwindow.h>
int main(int argc,char *argv[])
{
QApplication app(argc,argv);
QMainWindow frame;
frame.setCaption("hello whold");
frame.resize(180,70);
app.setMainWidget(&frame);
frame.show();
return app.exec();
}
编译通过并生成a.out执行文件:g++ -I$QTDIR/include main.cpp -L$QTDIR/lib -lqte
执行:./a.out -qws
报错如下:a.out :error while loading shared libraries:libqte.so.2:cannot open shared object file:no such file or directory
可是我到lib目录下发现有libqte.so.2
敬请版主及各位大侠帮忙!!!谢谢!!!!!!!