Buildroot Qt5: no fonts rendered



  • 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



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.