在 Ubuntu 下运行 Qt 程序出现“Fontconfig error: Cannot load default config file”错误提示。Qt 使用 Conon 编译的。

解决方案是“export FONTCONFIG_PATH=/etc/fonts”。


  1. Upgrading to Qt 5.13.2 broke fontconfig

发表回复

您的电子邮箱地址不会被公开。