qt 3.1 and Xft

Haris Peco snpe at snpe.co.yu
Mon Nov 18 17:59:59 GMT 2002


On Monday 18 November 2002 05:49 pm, Darrell Esau wrote:
> On Sunday 17 November 2002 4:23 am, snpe wrote:
> > Qt is compiled fine without -xft
> >
> > What can I get with -xft ?
>
> xft gets you font anti-aliasing.
>
> The problem with RH8.0 is that it doesn't use xft, it uses xft2.
>
> To get QT to compile with xft2, you have to include -lfontconfig as well as
> -lxft.
>
> The next problem is that redhat doesn't have a libXft (it has libXft2).
>
> So -- you have two options:
>
> modify all of the makefiles to replace -lxft with -lxft2, or make a symlink
> in your /usr/lib directory such as:
> /usr/lib/libXft.so -> /usr/lib/libXft.so.2
>
> I find the second much easier, and it works well for me.
>

I add -pangoxtf-1.0 and patch freetype-2.1.2 and I get Xft with Qt and KDE 3.1
It is nice

Thanks
Haris Peco
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list