我想在x86上建立Qtopia的虚拟平台,系统是redhat9.0。
在解压Qtopia-core-4.2.2后,我的选配置命令参数如下:
./configure -silent -depths 4,8,16,24,32 -embedded x86
运行过程中他提示说找不到glib-2.0库。配置完后,运行gmake命令,输出如下错误:
../../corelib/codecs/qtextcodec.cpp: In function `static QTextCodec*
QTextCodec::codecForMib(int)':
../../corelib/codecs/qtextcodec.cpp:795: warning: unused variable `
QList<QTextCodec*>::const_iterator i'
../../corelib/codecs/qtextcodec.cpp: In function `static QTextCodec*
QTextCodec::codecForMib(int)':
../../corelib/codecs/qtextcodec.cpp:795: warning: unused variable `
QList<QTextCodec*>::const_iterator i'
codecs/qtextcodec.cpp: In function `static QTextCodec*
QTextCodec::codecForMib(int)':
codecs/qtextcodec.cpp:795: warning: unused variable `
QList<QTextCodec*>::const_iterator i'
embedded/qscreen_qws.cpp: In member function `virtual void
QScreen::exposeRegion(QRegion, int)':
embedded/qscreen_qws.cpp:1141: warning: unused variable `const QRect bounds'
embedded/qtransportauth_qws_p.h:0: Warning: No relevant classes found. No output generated.
kernel/qapplication_qws.cpp: In member function `bool
QETWidget::translateMouseEvent(const QWSMouseEvent*, int)':
kernel/qapplication_qws.cpp:3192: warning: unused variable `QSize s'
kernel/qwidget_qws.cpp: In member function `void
QWidgetPrivate::updateFrameStrut()':
kernel/qwidget_qws.cpp:1035: warning: unused variable `const QRect
oldFrameStrut'
painting/qpainterpath.cpp: In member function `void QPainterPath::addText(const
QPointF&, const QFont&, const QString&)':
painting/qpainterpath.cpp:1123: warning: unused variable `QTextLine line'
painting/qstroker.cpp: In member function `void QStroker::joinPoints(double,
double, const QLineF&, QStroker::LineJoinMode)':
painting/qstroker.cpp:497: warning: unused variable `QPointF curve_start'
text/qscriptengine.cpp: In function `bool hangul_shape_syllable(QOpenType*,
QShaperItem*)':
text/qscriptengine.cpp:5043: warning: unused variable `QChar c'
text/qtextcontrol.cpp: In member function `void
QTextControlPrivate::repaintOldAndNewSelection(const QTextCursor&)':
text/qtextcontrol.cpp:496: warning: unused variable `QRectF updateRect'
text/qtextlayout.cpp: In member function `void
QTextLayout::drawCursor(QPainter*, const QPointF&, int, int) const':
text/qtextlayout.cpp:918: warning: unused variable `QFixed pos_x'
text/qtextlayout.cpp:919: warning: unused variable `QFixed pos_y'
text/qtextlayout.cpp: In member function `void QTextLine::draw(QPainter*, const
QPointF&, const QTextLayout::FormatRange*) const':
text/qtextlayout.cpp:1580: warning: unused variable `QFixed pos_y'
text/qtextdocumentlayout.cpp: In member function `void
QTextDocumentLayoutPrivate::ensureLayouted(double) const':
text/qtextdocumentlayout.cpp:2489: warning: unused variable `const QSizeF
oldSize'
text/qtextcursor.cpp: In member function `void
QTextCursor::select(QTextCursor::SelectionType)':
text/qtextcursor.cpp:1180: warning: unused variable `const QTextBlock block'
text/qsyntaxhighlighter.cpp: In member function `void
QSyntaxHighlighterPrivate::reformatBlock(QTextBlock)':
text/qsyntaxhighlighter.cpp:169: warning: unused variable `QTextBlock previous'
text/qfontengine_qws.cpp: In member function `virtual void
QFontEngineFT::draw(QPaintEngine*, double, double, const QTextItemInt&)':
text/qfontengine_qws.cpp:236: warning: unused variable `QFixed x'
text/qfontengine_qws.cpp:237: warning: unused variable `QFixed y'
text/qfontengine_qws.cpp: In member function `virtual QByteArray
QFontEngineFT::getSfntTable(unsigned int) const':
text/qfontengine_qws.cpp:603: `FT_Load_Sfnt_Table' undeclared (first use this
function)
text/qfontengine_qws.cpp:603: (Each undeclared identifier is reported only once
for each function it appears in.)
text/qfontengine_qws.cpp: In member function `virtual void
QFontEngineQPF::draw(QPaintEngine*, double, double, const QTextItemInt&)':
text/qfontengine_qws.cpp:998: warning: unused variable `QFixed x'
text/qfontengine_qws.cpp:999: warning: unused variable `QFixed y'
gmake[2]: *** [.obj/release-shared-emb-x86/qfontengine_qws.o] Error 1
gmake[1]: *** [sub-gui-make_default] Error 2
gmake: *** [sub-src-make_default-ordered] Error 2
初学Qt,看不明白,猜想是不是与我的配置参数有关?
还请各位高手给个提示,谢谢。