Solved QFontDatabase: Cannot find font directory /usr/local/Qt-5.9.2/lib/fonts
-
Hi
I have this error when compile simple Qt application:QFontDatabase: Cannot find font directory /usr/local/Qt-5.9.2/lib/fonts. Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
Note: I install Qt 5.9.2 in Raspberry Pi3 (Raspbian).
-
Hi,
Isn't that at run time ?
-
@SGaist said in QFontDatabase: Cannot find font directory /usr/local/Qt-5.9.2/lib/fonts:
Isn't that at run time ?
yes, It is at run time.
-
Did you copy some fonts over there ?
-
@SGaist Thank you.