首页| 论坛| 消息

回复: 在redhat9.0 和arm 上安装 QT/E 开发环境的问题
#6 [allenliu0225 07-31 11:15]
In file included from kernel/qt_x11.h:76,
from kernel/qpsprinter.cpp:97:
/usr/X11R6/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: 没有那个文件或目录
In file included from kernel/qt_x11.h:76,
from kernel/qpsprinter.cpp:97:
/usr/X11R6/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/X11R6/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not
defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not
defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:354: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:393: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:399: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:408: type specifier omitted for parameter `
FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:408: parse error before `,' token
/usr/X11R6/include/X11/Xft/Xft.h:418: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:461: parse error before `*' token
漏了一点,还有这些错误。。。
#7 [allenliu0225 07-31 11:40]
安装qte2.3.7出现的错误:
# export QTDIR=$PWD
# export QTEDIR=$QTDIR
# export PATH=$QTDIR/bin:$PATH
# export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
# ./configure -qconfig -qvfb -depths 4,8,16,32

This is the Qt Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the license?
yes
WARNING: Using a different qconfig.h will most likely
make the Qt library you build incompatible with
other software.
This is not recommended nor supported.


No shared library support for platform/compilerlinux-g++-shared
Available platforms: aix-g++ aix-xlc bsdi-g++ dgux-g++ dynix-g++ freebsd-g++ hpux-acc hpux-cc hpux-g++ hpux-n64 hpux-o64 hurd-g++
irix-64 irix-g++ irix-n32 irix-o32 linux-cxx linux-g++ linux-kcc
netbsd-g++ openbsd-g++ osf1-cxx osf1-g++ qnx-rtp-g++ sco-g++
solaris-cc-gcc solaris-cc solaris-64 solaris-g++ sunos-g++
ultrix-g++ unixware-g++ unixware7-cc unixware7-g++


# make sub-src
make: *** No rule to make target `sub-src'.Stop.
# make
make: *** No targets specified and no makefile found.Stop.
#8 [allenliu0225 07-31 11:42]
我之前安装过3.3.5版本的QTE和QT/X11, 是不是库文件冲突了?!
#9 [kingroc 11-03 18:50]
这里的问题是,你没有装freetype2 ,装了后,再运行如下面命令:
cd /usr/include
ln -s freetype2/freetypefreetype
下面是原英文:
Whatkind of your platform?and make sure that you have installed the
freetype and it's the correct version for your qt/e .
In my system redhat 9.0,the freetype2 is installdandit's including
head fileis installed in /usr/include/freetype2 ,so I resolve the problem
as below:
cd /usr/include
ln -s freetype2/freetypefreetype
Hope it's useful for you.
引自:http://lists.trolltech.com/qt-embedded-interest/2005-08/thread00046-0.html
#10 [liubaosen 09-04 19:11]
加-no-cups会解决qpeprint的问题

<< 1 2 >> (2/2)

回复 发表
主题 版块