标题:[菜鸟求助]qt下ldconfig跟hello程序make的一些错误
作者:baizhu2
日期:2007-08-18 09:41
内容:
在QT安装qt_x86下 ./buildx86 后,输入ldconfig 出现如下错误
# ldconfig
ldconfig: /armsys2410/qt_arm/qtopia/lib/libuuid.so.1 is not a symbolic link
是啥意思?会带来啥后果啊?
第86句说是有语法错误 QTimer *timer = new QTtimer(this);
第89句 timer->start(40);
第141句 //3:Paint the pixmap. Cool wave effect
QPaitner p;
第145句 p.begin( &pm );
make 后结果:
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/usr/lib/qt-3.1/include -o hello.o hello.cpp
hello.cpp: In method `Hello::Hello(QWidget * = 0, const char * = 0, unsigned int = 0)':
hello.cpp:86: parse error before `('
hello.cpp: In method `void Hello::paintEvent(QPaintEvent *)':
hello.cpp:141: `QPaitner' undeclared (first use this function)
hello.cpp:141: (Each undeclared identifier is reported only once
hello.cpp:141: for each function it appears in.)
hello.cpp:141: parse error before `;'
hello.cpp:145: `p' undeclared (first use this function)
make: *** Error 1
程序完全按照书上写的,查看过qpainter类,也有例子就是QPainter p这么定义的 ..
不知道这里怎么不行了,顺便问下qt下的所有类都放在哪个文件夹下的?
上面两个问题有联系么 ?
hello.cpp程序代码如下:
#include "hello.h"
#include
#include
#include
#include
#include
#include
#include
#include
..