qwt是qt的一个2D图形库,之前我在qt4.3.2下编译qw5.0t通过,但是在qtopia2.2下却编译出错,出错信息如下:
qwt_abstract_scale_draw.cpp:15:21: error: qlocale.h: No such file or directory
In file included from qwt_double_rect.h:15,
from qwt_math.h:16,
from qwt_abstract_scale_draw.cpp:16:
qwt_array.h:22:23: error: qmemarray.h: No such file or directory
In file included from qwt_layout_metrics.h:15,
from qwt_painter.h:17,
from qwt_abstract_scale_draw.cpp:18:
qwt_polygon.h:26: error: expected initializer before '<' token
qwt_abstract_scale_draw.cpp: In member function 'virtual QwtText QwtAbstractScaleDraw::label(double) const':
qwt_abstract_scale_draw.cpp:362: error: 'QLocale' has not been declared
qwt_abstract_scale_draw.cpp: In member function 'const QwtText& QwtAbstractScaleDraw::tickLabel(const QFont&, double) const':
qwt_abstract_scale_draw.cpp:381: error: 'const_iterator' is not a member of 'QMap<double, QwtText>'
qwt_abstract_scale_draw.cpp:381: error: expected `;' before 'it'
qwt_abstract_scale_draw.cpp:382: error: 'it' was not declared in this scope
qwt_abstract_scale_draw.cpp:393: error: 'it' was not declared in this scope
我下载了一些较低版本的qwt,依然无法编译通过,想请教一下大家,有没有人成功在qtopia-2.2中编译通过qwt呢?