Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: no font directory warning from Qt #26

Closed
wilkinsw opened this issue Jan 21, 2019 · 3 comments
Closed

Linux: no font directory warning from Qt #26

wilkinsw opened this issue Jan 21, 2019 · 3 comments

Comments

@wilkinsw
Copy link

The following warnings show up when running vesc from the command line:

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

Solution is to configure qt with -feature-freetype -fontconfig to allow the use of system fonts

@vedderb
Copy link
Owner

vedderb commented Feb 20, 2019

Using system fontconfig did not seem to work on older distributions with a static build done on a newer distribution, therefore the static build comes with built in fonts.

@vedderb vedderb closed this as completed Feb 20, 2019
@StitchCookie
Copy link

How do I configure this on the command line.

@82157402
Copy link

82157402 commented Oct 7, 2023

why close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants