On Wednesday 06 November 2002 22:05, Brian Smith wrote: > > Could anybody throw me a bone and let me know what I need > > to do to get qt to compile with the new Xft? > > I've just finished getting the latest qt3 from Cooker to > compile with Xft2. I had to make some tweaks to the > configure script to get it all to play nicely together. > > Here's what you need to do, assuming you've already > installed the Mandrake source RPM: > > 1) Copy the attached qt-3.1.0-fix-xft.patch.bz2 file to > /usr/src/RPM/SOURCES > > 2) cd to /usr/src/RPM/SPECS and apply the attached > qt3.spec.patch.bz2 file to your qt3.spec file: > # bzip2 -dc qt3.spec.patch.bz2 | patch -p0 > > 3) Rebuild the packages from the new spec file: > # rpm -ba qt3.spec > > 4) Profit!!! Well, maybe not. The resulting packages work > OK for me, your mileage may vary. I'm using the latest > freetype-devel, libXft2-devel, and fontconfig-devel > packages from Cooker.
You patch is very complicated. I create a patch this morning : --- qt-copy-3.1_20021104/configure-- 2002-11-06 08:55:39.000000000 +0100 +++ qt-copy-3.1_20021104/configure 2002-11-06 08:55:41.000000000 +0100 @@ -254,7 +254,7 @@ CFG_MNG=auto CFG_LIBMNG=qt CFG_XRENDER=auto CFG_FREETYPE=auto -CFG_FONTCONFIG=no +CFG_FONTCONFIG=yes CFG_QWS_FREETYPE=yes CFG_SQL_AVAILABLE= CFG_SQL_AUTODETECTED= and it links with fontconfig. But I asked to kde develop, and xft2 was desactivated in qt because konsole was very broken with xft2 So for the moment I will try to test it in local PC. Regards.
