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. Qt statical build

Qt statical build

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.6k Views
  • 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.
  • T Offline
    T Offline
    trulex
    wrote on last edited by
    #1

    I built Qt 5.3.1 statically, when I compile my app and try to run it, I get "QFontDatabase: Cannot find font directory /usr/local/Qt-5.3.1/lib/fonts - is Qt installed correctly?". How to fix that? make install of Qt only makes the error go away, but fonts are ugly and not how they're supposed to be. Ubuntu 14.04 32b

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      Well, I don't have 5.3.1 yet, still using 5.3.0 on my linux system. I do not have a <qt>/lib/fonts directory at all. It feels like that is a directory that may have been added to some font database at some point either by you manually or by Ubuntu.

      It seems like you could take that entry out of the font database as it is not supposed to exist. It sounds like your Qt is installed just fine so that's not the issue.

      QFontDatabase just queries the system to find where it's fonts are stored. It shouldn't cause any issues at all.

      It seems like you have some setup/font issues with Ubuntu though. I'm not really sure where to point you to fix those. I'm a gentoo user and build and configure everything by hand. Ubuntu does it all for you and has their own way of doing things. I would start looking into Qt/ubuntu/font problems on google maybe.

      Anyway if you post a screenshot or 2 so I can see what's going on maybe I can help you more. Not sure though this is definitely an esoteric problem.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      0
      • T Offline
        T Offline
        trulex
        wrote on last edited by
        #3

        I think Ubuntu causes problems, as I compile & run my app without problems on Windows and OS X. Screenshot of what would you need?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          ambershark
          wrote on last edited by
          #4

          Show me a screenshot of the app with bad looking fonts (the one you did the install on) and a screenshot of the app with normal looking fonts.

          That way I can see what kind of font issues you are dealing with.

          Also, any information about your operating system would be great. What X11 are you using, what window manager, versions of these. Version of Ubuntu.

          My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

          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