主题 : 请教一下在qtopia2.2下如何编译qwt 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 2177
精华: 0
发帖: 70
金钱: 620 两
威望: 463 点
综合积分: 140 分
注册时间: 2008-10-30
最后登录: 2015-01-12
楼主  发表于: 2010-02-23 21:19

 请教一下在qtopia2.2下如何编译qwt

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呢?
-