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. Problem with fonts in QML cross-compilation
Forum Updated to NodeBB v4.3 + New Features

Problem with fonts in QML cross-compilation

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 455 Views 1 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.
  • Y Offline
    Y Offline
    YahyaAhmed
    wrote on last edited by YahyaAhmed
    #1

    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

    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