QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1404|回复: 1

请问,这是怎么回事? 关于Qt-x11

[复制链接]
发表于 2005-9-19 17:45:13 | 显示全部楼层 |阅读模式
[root@localhost qt-2.3.2]# urpmi libxorg-x11
全部安装完成
[root@localhost qt-2.3.2]# urpmi xorg-x11
全部安装完成
[root@localhost qt-2.3.2]# make sub-src
cd src/moc; make
make[1]: Entering directory `/home/denixleen/work/qt-2.3.2/src/moc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/denixleen/work/qt-2.3.2/src/moc'
rm -f bin/moc
cp src/moc/moc bin/moc
make -f src-mt.mk
make[1]: Entering directory `/home/denixleen/work/qt-2.3.2'
(not building threaded Qt)
make[1]: Leaving directory `/home/denixleen/work/qt-2.3.2'
cd src; make
make[1]: Entering directory `/home/denixleen/work/qt-2.3.2/src'
g++  -c -I/usr/X11R6/include -I/home/denixleen/work/qt-2.3.2/include -I/usr/X11R                                           6/include -pipe -O2 -Wall -W -fPIC -DQT_BUILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_JPE                                           G -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -DQT_NO_XKB  -I/home/denixleen/work/qt-                                           2.3.2/src/3rdparty/zlib -I/home/denixleen/work/qt-2.3.2/src/3rdparty/libpng  -o                                            kernel/qpsprinter.o kernel/qpsprinter.cpp
In file included from kernel/qpsprinter.cpp:97:
kernel/qt_x11.h:65:22: X11/Xlib.h: No such file or directory
kernel/qt_x11.h:71:23: X11/Xutil.h: No such file or directory
kernel/qt_x11.h:72:21: X11/Xos.h: No such file or directory
kernel/qt_x11.h:73:23: X11/Xatom.h: No such file or directory
kernel/qt_x11.h:84:34: X11/extensions/shape.h: No such file or directory
kernel/qpsprinter.cpp: In constructor `QPSPrinterFont::QPSPrinterFont(const QFon                                           t&, QPSPrinterPrivate*)':
kernel/qpsprinter.cpp:5195: error: `XGetFontPath' undeclared (first use this fun                                           ction)
kernel/qpsprinter.cpp:5195: error: (Each undeclared identifier is reported only                                            once for each function it appears in.)
kernel/qpsprinter.cpp:5235: error: `XFreeFontPath' undeclared (first use this fu                                           nction)
make[1]: *** [kernel/qpsprinter.o] 错误 1
make[1]: Leaving directory `/home/denixleen/work/qt-2.3.2/src'
make: *** [sub-src] 错误 2
不可思议!!!!!!!!!
怎么还会找不到呢?
发表于 2005-9-20 21:12:05 | 显示全部楼层
Please make sure you setup the develop environment according to the steps. I haven't encoutered these issues when I set up it.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 02:33 , Processed in 0.081439 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表