tenny 发表于 2015-6-23 17:32; o$ b4 I# w- K/ I" ^0 @. y
1、将中文字体文件拷贝到 /usr/lib/fonts目录
1 ~3 E9 f9 P8 [: M
2、export QT_QWS_FONTDIR=/usr/lib/fonts
tenny 发表于 2015-6-24 13:23
windows 系统下
C:\Windows\Fonts; P" a6 K1 z! t8 j& t
linux 系统下
tenny 发表于 2015-6-25 10:32
你在 pc 上的 linux 上做配置?你不是开发板上的 QT 不能显示中文?
欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) | Powered by Discuz! X3.4 |