标题:【提问】qt3.1编译不过qwt??
作者:zksunk
日期:2006-02-06 22:31
内容:
我的笔记本上装的是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: *** Error 1
我就是按照install里说的简单的
qmake qwt.pro
make
只有这个版人气旺点, 版主帮忙看看应该怎么办?谢谢
#1 [zksunk 02-07 21:43]
烦躁, 3.1里面确实没有WNoAutoErase, 自己装了个3.3.4就可以了.