Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Where Fonts does QFontComboBox get fonts it displays?
Qt 6.12 LTS is out! See what's new in the release blog

Where Fonts does QFontComboBox get fonts it displays?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 703 Views 2 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.
  • G Offline
    G Offline
    GregWilsonLindberg
    wrote on last edited by
    #1

    I've got an application running on an RPi3 that is using a QFontComboBox to select a font. It appears to get fonts from /usr/share/fonts/truetype/. I've installed many other fonts that are not listing. what fonts does the QFontComboBox include in its list. Is there any way to get it to include all type of fonts that are installed on the system (i.e .otf, .ttf, .fnt)?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      You can see what
      http://doc.qt.io/qt-5/qfontdatabase.html
      reports.

      1 Reply Last reply
      1

      • Login

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