Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Buildroot Qt5: no fonts rendered
QtWS25 Last Chance

Buildroot Qt5: no fonts rendered

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 2.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.
  • I Offline
    I Offline
    infopipe
    wrote on last edited by
    #1

    Hello,

    my problem is that no text displayed in any Qt5 application.
    I have a custom ARM based board with an LCD accessible via a framebuffer and a linux system built with buildroot. Qt is configured with fontconfig, system freetype, no OpenGL, widgets.
    Widgets like dials, labels, ... are displayed correctly but no text is shown. I queried my system with QFontdatabase and it lists quite a few fonts:
    @
    "Bitstream Vera Sans" : "Bold" , "Roman" , "Bold Oblique" , "Oblique" ,
    "Bitstream Vera Sans Mono" : "Bold" , "Bold Oblique" , "Roman" , "Oblique" ,
    "Bitstream Vera Serif" : "Roman" , "Bold" ,
    "DejaVu Sans" : "Oblique" , "Book" , "Bold Oblique" , "Bold" ,
    "DejaVu Sans Mono" : "Bold Oblique" , "Oblique" , "Bold" , "Book" ,
    "DejaVu Serif" : "Bold Oblique" , "Oblique" , "Bold" , "Book" ,
    "Liberation Mono" : "Italic" , "Regular" , "Bold" , "Bold Italic" ,
    "Liberation Sans" : "Regular" , "Italic" , "Bold" , "Bold Italic" ,
    "Liberation Sans Narrow" : "Regular" , "Italic" , "Bold Italic" , "Bold" ,
    "Liberation Serif" : "Italic" , "Regular" , "Bold" , "Bold Italic" ,
    "Monospace" : "Normal" , "Italic" , "Oblique" ,
    "Sans Serif" : "Normal" , "Italic" , "Oblique" ,
    "Serif" : "Normal" , "Italic" , "Oblique" ,
    @
    I added some of the fonts while searching for the root cause of the problem and they got detected automatically, so the fonts are known to the system and Qt.
    Does anyone have hints how to debug the problem?

    cheers

    1 Reply Last reply
    0
    • I Offline
      I Offline
      infopipe
      wrote on last edited by
      #2

      Hi,

      upgrading to 5.2.1 (previously it was 5.2.0) did the trick.
      I don't know what exact change resolved the issue, but well...

      cheers

      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