[yocto] add dejavu-fonts to image

idealsim idealsim at laposte.net
Tue Oct 11 13:07:36 PDT 2016


Hi, i have build an image for an imx6 card (secoA62) based on this good 
layer https://github.com/graugans/meta-udoo (krogoth branch). All work 
fine but since the last version of qt 5.7, qtbase-font is not provided 
and now i have this error when i deploy an app :

/QFontDatabase: Cannot find font directory /usr/lib/fonts.//
//Note that Qt no longer ships fonts. Deploy some (from 
//http://dejavu-fonts.org//for example) or switch to fontconfig./

Apparently we need to provide fonts with yocto now. Can you advise me 
how i can add ttf-dejavu to the image. I have tried to add it to my 
local.conf like this :

IMAGE_INSTALL_append = "\

             ttf-dejavu \

"

but i have an error during the build of the image rootfs !

Can you help please ?

Mickaël LE STEPHAN

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161011/00cfc915/attachment.html>


More information about the yocto mailing list