Qt4.5.3 cannot display Chinese fonts, either in qvfb or in arm systems. Later, I checked some methods on the Internet.
Finally completed
1. DownloadQpf Font Library
Go to http://kenter1643.download.csdn.net/to find and download
2. decompress the downloaded library.Put the qpf file in lib/fonts (both qtX86 and arm versions, as well as the migrated file system are put in this child)
During compilation and running: In the qtcreator, Run Settings --> Edit run configuration: Click the Show Details button on the right side. In the open drop-down list, Arguments: add the parameter "-qws-font wenquanyi" to the text box ".
Or run the command in the terminal, for example,./hello.-Qws-font wenquanyi
This will display Chinese characters.
If you do not want to enter the following parametersDelete all other fonts in lib/fonts, retain onlyFont of quanyi zhengheiQpf font library. In this way, you only need to run./Hello-Qws. However, no other fonts can be used.
Tip: when you run a program on the terminal, adding & will not exclusively occupy the terminal. You can run multiple programs on the terminal.
For example:./Hello &