Hi all, http://www.mail-archive.com/[EMAIL PROTECTED]/msg04101.html In reference to the above link where david suggested some changes in the XFree86 source.
Index: lib/Xft/Xft.h =================================================================== RCS file: /home/x-cvs/xc/lib/Xft/Xft.h,v retrieving revision 1.32 diff -u -r1.32 Xft.h --- lib/Xft/Xft.h 25 Feb 2003 21:57:53 -0000 1.32 +++ lib/Xft/Xft.h 20 Nov 2003 22:03:55 -0000 @@ -32,7 +32,8 @@ #define XftVersion XFT_VERSION #include <stdarg.h> -#include <freetype/freetype.h> +#include <ft2build.h> +#include FT_FREETYPE_H #include <fontconfig/fontconfig.h> #include <X11/extensions/Xrender.h> ********************************************* when i try to crosscompile Qt/X11 with the /home/jassi/usr/X11R6/include headers generated by the compilation(cross) of Xfree86, the compiler cant find ft2build.h header file. So i have to explicitly mention the search path in the file. I think:: #include <ft2build.h> is XFree86 specific. Shudn't there be #include <freetype2/ft2build.h> so that any other software can figure out the headers easily. I mean the same for all the include's which can cause such problems. -Jassi