• 4784阅读
  • 1回复

安装4.1.3出现问题? [复制链接]

上一主题 下一主题
离线lxs2005
 
只看楼主 倒序阅读 楼主  发表于: 2006-05-22
按照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]: *** [debug-all] Error 2
make[2]: Leaving directory `/usr/local/qt/src/gui'
make[1]: *** [sub-gui-make_default-ordered] Error 2
make[1]: Leaving directory `/usr/local/qt/src'
make: *** [sub-src-make_default-ordered] Error 2

不知道是什么原因?

那位大哥能把安装的详细步骤罗列出来,通过的最好,intall就不要贴出来了。谢谢了
[ 此贴被XChinux在2006-05-22 21:54重新编辑 ]
离线codelive

只看该作者 1楼 发表于: 2006-05-30
最好在root用户下
./configure
gmake
gmake install
这样就安装成功了

在用户的.bash_profile中增加
PATH=/usr/local/Trolltech/Qt-4.1.3/bin:$PATH
export PATH

这样就可以了.
快速回复
限100 字节
 
上一个 下一个