Hello,

I'm wondering if anyone was able to successfully compile Qt 2.3.2 with
XFree 4.3.0/Freetype2?
I need Qt 2.3.2 to replace default Kylix library and to enable
Anti-Aliasing in Kylix applications.

While compiling I get the following errors:

---------------------------------------------------------------------
g++ -D_REENTRANT -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include
-I/opt/qt-2.3.2/include -I/usr/X11R6/include -pipe -O2 -Wall -W -fPIC
-DQT_BUILTIN_GIF_READER=1 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG
-DQT_XFT -fno-exceptions -I/opt/qt-2.3.2/src/3rdparty/zlib
-I/opt/qt-2.3.2/src/3rdparty/libpng -I/usr/X11R6/include -o
kernel/qpsprinter.o kernel/qpsprinter.cpp
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: No such
file or directory
In file included from kernel/qt_x11.h:76,
from kernel/qpsprinter.cpp:97:
/usr/X11R6/include/X11/Xft/Xft.h:52: error: syntax error before `;'
token
/usr/X11R6/include/X11/Xft/Xft.h:86: error: 'FT_UInt' is used as a
type, but is
not defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:93: error: 'FT_UInt' is used as a
type, but is
not defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:190: error: parse error before `*'
token
/usr/X11R6/include/X11/Xft/Xft.h:295: error: parse error before `*'
token
/usr/X11R6/include/X11/Xft/Xft.h:354: error: parse error before `*'
token
/usr/X11R6/include/X11/Xft/Xft.h:393: error: parse error before `*'
token
/usr/X11R6/include/X11/Xft/Xft.h:399: error: parse error before `*'
token
/usr/X11R6/include/X11/Xft/Xft.h:408: error: type specifier omitted
for
parameter `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:408: error: parse error before `,'
token
/usr/X11R6/include/X11/Xft/Xft.h:418: error: parse error before `*'
token
/usr/X11R6/include/X11/Xft/Xft.h:461: error: parse error before `*'
token
make[3]: *** [kernel/qpsprinter.o] Error 1
make[3]: Leaving directory `/opt/qt-2.3.2/src'
make[2]: *** [src-mt] Error 2
make[2]: Leaving directory `/opt/qt-2.3.2'
make[1]: *** [src-mt] Error 2
make[1]: Leaving directory `/opt/qt-2.3.2'
make: *** [init] Error 2
---------------------------------------------------------------------

I wonder if anyone has any ideas on why this happens? I can see that
it
can't find freetype.h ... but what can be done to make it find it?
Since
freetype2.1 is installed and works...

Toolchain: GCC 3.3.2, Glibc 2.3.2, Xfree86 4.3.0.1, freetype 2.1.5,
fontconfig 2.2.1
(As in LFS 5.0)

Any help is appreciated.

Thank you,
Sergei