Skip to content

Resolve "Qt fonts folder is hardcoded in Qt library"

What does this MR do?

Load fonts in WorkerQt, before it was loaded using QT_QPA_FONTDIR.

Closes #147 (moved).

How to test it?

Compile a Gui app (TutoGui, VRRender ...), fonts should be loaded.

Note: message

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

is still present, it seems to be hardcoded inside Qt :(

Data

No data.

Additional tests to run

  • Test it with your own BinPkgs
  • Test it with Conan @jwaechter
  • Test it with CI Binpkgs
  • macos ?
Edited by Marc SCHWEITZER

Merge request reports