我的笔记本上装的是FC4, 自带的qt3.3可以编译qwt
但是办公室的电脑redhat9, 自带的qt3.1就编译不过去,qwt是从cvs服务器是checkout的
g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I. -Iinclude -I/usr/lib/qt-3.1/include -Isrc/moc/ -o src/obj/qwt_paint_buffer.o src/qwt_paint_buffer.cpp
src/qwt_paint_buffer.cpp: In member function `void
QwtPaintBuffer::open(QPaintDevice*, const QRect&, QPainter*)':
src/qwt_paint_buffer.cpp:144: `WNoAutoErase' is not a member of type `Qt'
make: *** [src/obj/qwt_paint_buffer.o] Error 1
我就是按照install里说的简单的
qmake qwt.pro
make
只有这个版人气旺点, 版主帮忙看看应该怎么办?谢谢