Problem with fonts in QML cross-compilation

  • Hi All,

    I've created my own Qt5 image for Raspberry Pi and I've been cross-compiling Qt applications without any problems but a problem with fonts appeared when I tried to cross-compile QML applications.

    Output of Terminal

    This is the output of my application when I cross-compile it and run it using SSH from terminal.

    Output of QtCreator

    And this is the output of my application when I try to run it from QtCreator (using SSH).

    As you can notice, the font family and font size changes. Also I've tried to put the font in the qrc resources but with no success.

    P.S. the font I'm using exists on both host and target machines.

    Does anybody know a solution for this problem?

    Thanks in advance

Log in to reply