This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x QT5 SDK6 Fonts rendered as empty squares

Hallo,

I am shifting to Qt 5.1.1 and SDK 6. I successfully compiled QT5 and copied the install folder to the required directory. QT5 was configured with fontconfig (fontconfig...yes in configure output).

I compiled a simple test application with a pushbutton and textedit with default font in qtcreator.

After executing the application, the fonts are rendered as empty squares (i.e) instead of characters, there are just empty squares with black border.

there is no fonts folder present in qtinstallfolder/lib/. But there is a fonts folder under /usr/lib/fonts. I tried setting QT_QPA_FONTDIR to /usr/lib/fonts. Still the same problem.

Hardware is a custom AM335x_SK based board. Display and touch input working properly.

Can anyone guide me in solving this ?

Thanks a lot and best regards.

Ram