+ Reply to Thread
Results 1 to 2 of 2

Thread: Cannot find font directory /usr/local/Qt-5.9.2/lib/fonts

  1. #1
    Join Date
    Jan 2016
    Posts
    80
    Thanks
    31
    Qt products
    Qt5
    Platforms
    Windows

    Default Cannot find font directory /usr/local/Qt-5.9.2/lib/fonts

    Hi,
    I have this error when compile simple Qt application:

    Qt Code:
    1. QFontDatabase: Cannot find font directory /usr/local/Qt-5.9.2/lib/fonts.
    2. Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
    To copy to clipboard, switch view to plain text mode 
    Note: I install Qt 5.9.2 in Raspberry Pi3 (Raspbian).

  2. #2
    Join Date
    Jan 2016
    Posts
    80
    Thanks
    31
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Cannot find font directory /usr/local/Qt-5.9.2/lib/fonts

    I copy some fonts over there and my problem is solved.

+ Reply to Thread

Similar Threads

  1. How to display local language fonts in qpainter
    By vsk.manikandan in forum Newbie
    Replies: 2
    Last Post: 11th November 2014, 09:34
  2. QFontDatabase:Cannot find font directory
    By soumya in forum Qt for Embedded and Mobile
    Replies: 9
    Last Post: 10th November 2014, 07:08
  3. QFontDatabase: Cannot find font directory
    By MaddogMonty in forum Qt Programming
    Replies: 1
    Last Post: 8th June 2014, 21:57
  4. Fonts from specific directory
    By praveen_g in forum Newbie
    Replies: 1
    Last Post: 13th November 2009, 11:24
  5. Fonts from specific directory
    By praveen_g in forum Qt Programming
    Replies: 1
    Last Post: 13th November 2009, 11:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts