> In your X startup log (in various places depending on how you start X), you
> should see lines to the effect of "Inbuilt module RENDER loaded." If not, I
> can't help you, 'cos I haven't figured that bit out.
I can get that bit to work fine with the debian apt-getted X but when i
compile it my self the module doesnt load.
However, even now with an error in the log saying the "render" module could
not be loaded, it still does anti-aliased text in xterm.
>
> If so, make the changes to XftConfig on KeithP's page and run:
>
> xterm -fa "Trebuchet"
>
> You may want to up the font size with -fs. If that works, you should only
> need to compile Qt, and make sure KDE loads the correct set of libraries.
> In Gnome I add /usr/local to the GNOME_PATH environment variable.
>
> What troubles are you having compiling Qt, and can some of our KDE gurus
> help out? (John?)
This was the trouble i had. AA works in xterm, so theoretically render should
load, however qt would not compile, complaining about not being able to find
many X rendering extensions functions. I thought that if X was rendering (AA
in xterm) then Qt should understand that. It doesnt seem to.
When i configure qt i add in the -xft switch to make sure that it tries to
add the aa extensions. It borks when it gets to that bit. these are the
errors:
make uic
make[5]: Entering directory `/usr/local/src/qt-copy/tools/designer'
if [ -d uic ]; then cd uic ; make; fi
make[6]: Entering directory `/usr/local/src/qt-copy/tools/designer/uic'
g++ -L/usr/local/src/qt-copy/lib -Wl,-rpath,/usr/local/src/qt-copy/lib -o
/usr/local/src/qt-copy/bin/uic uic.o ../shared/widgetdatabase.o
../shared/domtool.o ../integration/kdevelop/kdewidgets.o -lqutil -L../lib
-lqutil -L../lib -lqt
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to `FT_Init_FreeType'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to `FT_Load_Glyph'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to `FT_Done_Face'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderFreePicture'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`FT_Get_Char_Index'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`FT_Outline_Translate'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to `FT_Set_Charmap'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderCompositeString8'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderFillRectangle'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`FT_Outline_Transform'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderCompositeString16'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderFindVisualFormat'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`FT_Outline_Get_Bitmap'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderSetPictureClipRegion'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderCreateGlyphSet'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to `FT_Set_Char_Size'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderCompositeString32'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to `XRenderAddGlyphs'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderChangePicture'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderFindFormat'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to `FT_New_Face'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderCreatePicture'
/usr/local/src/qt-copy/lib/libqt.so: undefined reference to
`XRenderFreeGlyphSet'
collect2: ld returned 1 exit status
make[6]: *** [/usr/local/src/qt-copy/bin/uic] Error 1
Also, in the log for my Xfree86.0.log it says it loads the freetype module
fine, which it didnt do before i recompiled.
My QTDIR is set at /usr/local/src/qt-copy as per the README.qt-copy.
I checked the QT i have out of kde's cvs a couple of night ago. This is
slightly different to the instructions, however i was informed in #kde that
it would work, and the readme suggests that keithp's AA extensions have been
merged for qt-copy.
So yeah,
/me shrugs :(
Thanks,
Dave
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug