[Interest] Fonts not rendering!

Konstantin Tokarev annulen at yandex.ru
Wed Jun 27 17:08:03 CEST 2012


27.06.2012, 19:06, "Lata Agrawal" <lata.agrawal at enrouteinc.com>:
> Hi,
>
> I am working with an Embedded Linux/MIPS device. It has qt-4.6.2 libs compiled using gcc-4.2.4 installed on it. LD_LIBRARY_PATH is set appropriately.
>
> I tried running a simple QT app with a button on device. The app runs fine but the text on button is not showing. I also executed the same app with strace (log attached here). In strace log, app appears to find the fonts in <QTDIR>/lib/fonts folder but still it is not rendering the text.
> When I execute the same app on similar device having Qt-4.6.2 libs compiled using gcc-3.4.4, it shows the text properly.
>
> Can someone please check the strace and help me find out the reason for fonts not rendering?

Do you build Qt with freetype? If not, you need fonts to be rasterized to qpf2 format.

-- 
Regards,
Konstantin



More information about the Interest mailing list