标题:安装4.1.3出现问题?
作者:lxs2005
日期:2006-05-22 20:57
内容:
按照intall上的步骤到make 后,出现下列错误:
text/qfontengine_x11.cpp:86: warning: `struct QFreetypeFace' only defines a
private destructor and has no friends
text/qfontengine_x11.cpp: In member function `QByteArray
QFreetypeFace::getSfntTable(unsigned int) const':
text/qfontengine_x11.cpp:295: warning: unused parameter `uint tag'
text/qfontengine_x11.cpp: In function `void addBitmapToPath(FT_GlyphSlotRec_*,
const QFixedPoint&, QPainterPath*, bool)':
text/qfontengine_x11.cpp:393: `FT_GLYPH_FORMAT_BITMAP' undeclared (first use
this function)
text/qfontengine_x11.cpp:393: (Each undeclared identifier is reported only once
for each function it appears in.)
text/qfontengine_x11.cpp:393: `FT_PIXEL_MODE_MONO' undeclared (first use this
function)
make[3]: *** [.obj/debug-shared/qfontengine_x11.o] Error 1
make[3]: Leaving directory `/usr/local/qt/src/gui'
make[2]: *** Error 2
make[2]: Leaving directory `/usr/local/qt/src/gui'
make[1]: *** Error 2
make[1]: Leaving directory `/usr/local/qt/src'
make: *** Error 2
不知道是什么原因?
那位大哥能把安装的详细步骤罗列出来,通过的最好,intall就不要贴出来了。谢谢了
#1 [codelive 05-30 13:47]
最好在root用户下
./configure
gmake
gmake install
这样就安装成功了
在用户的.bash_profile中增加
PATH=/usr/local/Trolltech/Qt-4.1.3/bin:$PATH
export PATH
这样就可以了.