QFontDatabase: Cannot find font directory home/qt/lib/fonts

来源:互联网 发布:小学同步教学软件 编辑:程序博客网 时间:2024/05/29 04:37

解决方法:vi /etc/profile 添加export QT_QPA_FONTDIR=你对应的路径/lib/fonts/

经典错误:最后的斜杆千万不要漏!!!表示该目录下的文件

阅读全文
0 0
原创粉丝点击