Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Statically build Qt application missing font
jiangcaiyang last edited by
I am building Qt5.1beta statically and building my program using this Qt version.
At first it runs quite well in my PC, however, when I share it with my friend, he tells me that there are some font not showing when he clicks and opens my program. I try a second time, this time I test my program in another machine instead, which turns out to be blank where it ought to show some text at the top. here is the snapshot.
·Correct!http://i1288.photobucket.com/albums/b485/jiangcaiyang/6B63786E76847A0B5E8F_zpsb0524c2a.jpg(The correct image)!
·Incorrect!http://i1288.photobucket.com/albums/b485/jiangcaiyang/95198BEF76847A0B5E8F_zps8e6523f4.jpg(The incorrect image)!
I guess it is perhaps because I build Qt without -fontconfig and -qt-freetype option. But building a second time will be a long procedure, so please help me solve this problem, thanks. By the way does anyone know the meaning of these options?
messi last edited by
have you checked out this: