wget http://download.savannah.gnu.org/releases/freetype/freetype-2.10.0.tar.bz2
tar -xf freetype-2.10.0.tar.bz2
cd freetype-2.10.0
./configure --prefix=/opt/Qt5.12.3/Tools/QtCreator/lib/Qt/
make
cd ./objs/.libs
sudo cp libfreetype.so /opt/Qt5.12.3/Tools/QtCreator/lib/Qt/lib
sudo cp libfreetype.so.6 /opt/Qt5.12.3/Tools/QtCreator/lib/Qt/lib
sudo cp libfreetype.so.6.17.0 /opt/Qt5.12.3/Tools/QtCreator/lib/Qt/lib
Ubuntu 安装 Qt 5.9时,报错:undefined symbol : FT_Get_Font_Format 解决办法