Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. FontConfig support built, but QT_QPA_FONTDIR still required
Forum Updated to NodeBB v4.3 + New Features

FontConfig support built, but QT_QPA_FONTDIR still required

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 1.5k 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.
  • D Offline
    D Offline
    danhopkins
    wrote on last edited by
    #1

    I'm building Qt-5.7.1 from source on Ubuntu 14.04 with FontConfig support (which appears to be detected and correctly enabled by configure)

    Support enabled for:
      ...
      FontConfig ............. yes
    

    but running apps against the build always fail with

    QFontDatabase: Cannot find font directory /opt/Qt-5.7/lib/fonts.

    unless overridden with an explicit QT_QPA_FONTDIR pointing at system truetype fonts. I may have misunderstood, but I assumed building FontConfig support would do this transparently. Any pointers to what I've missed or misunderstood?

    Thanks

    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