This is intended for those who would like to install Kde 3.1 on RedHat 8.0 and use the Xft2 libs RedHat provides to make kde pretty.
Basically you can just proceed with the KDE 3.1 installation as normal but before you do that the tricks are in QT. This is also assuming you did *not* install KDE and QT related packages with RedHat.
1. Grab the qt-x11-free-3.1.1.tar.bz2 off of trolltech.com.
2. mv qt-x11-free-3.1.1.tar.bz2 /usr/local
3. mv qt-x11-free-3.1.1 qt
4. Set all the environmental variables per the qt installation section.
5. cd $QTDIR
6. edit $QTDIR/config.tests/x11/xfreetype.txt
7. Change line 40 to LIBS="Xft2"
8. Line 55 to LIBXFT="-l$F -lfreetype -lfontconfig"
9. Finally in $QTDIR run configure with the following:
./configure -system-zlib -qt-gif -system-libpng -system-libjpeg -plugin-imgfmt-mng -thread -no-stl -no-xinerama -no-g++-exceptions -xft -v -I/usr/include/Xft2
10. You will see Xft2 enabled in the configuration.
12. Walk away.
13. When its done, compile arts, kdelibs, kdebase, whatever else you want...
I hope this helps someone. The only real changes are to QT in that we tell it to use Xft2, tell it where it is, and configure with it enabled.