QT支持TTF和自定义字体:
解决qtconfig找不到自定义字体
sudo apt-get install libfontconfig1-dev
./configure -qt-freetype -fontconfig -nomake examples -nomake docs -nomake demo
make && make install
cp xxx.ttf /usr/local/share/fonts/
来源:CSDN
作者:dataowner
链接:https://blog.csdn.net/dataowner/article/details/103997008