Priority: P3: Somewhat important
Affects Version/s: 5.4.2
Fix Version/s: None
Component/s: QPA: LinuxFB
When launching apps on an embedded device like Xilinx Zc702 board with ARM cores and Linux OS, Qt libs unable to find font path. This is with linuxfb plugin.
I have copied all fonts under "/usr/local/lib/fonts" directory and assign QT_QWS_FONTDIR environment variable as "/usr/local/lib/fonts".
I found below workaround to solve this issue but the workaround is not clean. Workaround is to provide same font path (the prefix path of host machine where I build Qt) in target device.
mkdir -p /home/myname/qt/5.4/install/lib/
ln -s /usr/local/lib/fonts /home/myname/qt/5.4/install/lib/fonts
Its better to have a clean solution. I dont think QT_QWS_FONTDIR environment variable is valid in Qt 5.4.2. please let us know how to fix this issue in Qt 5 with linuxfb plugins under Linux and ARM environment.