Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Statically build Qt application missing font

Statically build Qt application missing font

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jiangcaiyang
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      messi
      wrote on last edited by
      #2

      Hi,
      have you checked out this:
      http://qt-project.org/doc/qt-5.0/qtdoc/qt-embedded-fonts.html

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved