Raspberry Pi 3 + Qt5.9 = QML application => Texts are not shown
I developed a QML application with Qt5.9.
I build this application for Ubuntu and for Raspberry Pi 3.
On Ubuntu everything is fine.
On Raspi 3 everything was fine. Now I have the problem that all the texts of labels, textfields, tables, ... are not shown.
The images, the borders, the colors, the graphs, ... are shown normally.
But I get no error messages while compilation and deyployment.
Does anyone know this problem and the reason for this problem?
On Raspi 3 everything was fine. Now I have the problem
What did you change?
Your Qt for raspberry is probably without fontconfig support. Solutions:
- Build Qt with fontconfig support
- Use fontloader and set font for every labels, textfields etc...
I found the problem.
On the Raspi were no fonts (*.ttf) in /usr/local/qt5/lib/fonts.
After copying the fonts there, it worked and all texts were shown.