我编译aclock时,出现问题如下:[root@localhost aclock]# make
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/friendly-arm/x86-qtopia/qt/include -o aclock.o aclock.cpp
aclock.cpp: In member function `void AnalogClock::drawClock(QPainter*)':
aclock.cpp:83: no matching function for call to `QPainter::setWindow(int, int,
int, int)'
aclock.cpp:85: no matching function for call to `QPainter::viewport()'
aclock.cpp:88: no matching function for call to `QPainter::setViewport(int,
int, int&, int&)'
aclock.cpp:94: no matching function for call to `QPainter::rotate(int)'
aclock.cpp:100: no matching function for call to `QPainter::rotate(int)'
aclock.cpp:107: no matching function for call to `QPainter::rotate(in
而我查看QPainter类时发现这些函数应该有的,开始我还以为我当初装QT配置的时可能少加了参数,
然后,我从新配置了一次还是出现这样的问题,哪位给解答一下!!!
[ 此贴被XChinux在2006-06-16 23:37重新编辑 ]