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. QT5 on RPi (eglfs) shows rectangles instead of non-ascii characters
Forum Updated to NodeBB v4.3 + New Features

QT5 on RPi (eglfs) shows rectangles instead of non-ascii characters

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

    I have a Yocto based layer for QT/QML development for RaspberryPI 3 - meta-rpi-qml

    It is based on Dunfell (Yocto 3.1), QT 5.14.1. I compiled image, sdk and setup QtCreator for cross-compilation and remote debugging.

    I created simple 'Hello world' app and I am unable to display non-ascii characters. I see rectangles instead of polish characters ś,ł etc...

    QWidget.fontInfo().family() returns "BitVera Sans" - this font has support for polish characters.
    When I run my test app on desktop all characters are shown correctly.

    I think that I am missing something in my layer but I do not know where to search.

    I would be grateful for any pointers.

    1 Reply Last reply
    0
    • ZorkZ Offline
      ZorkZ Offline
      Zork
      wrote on last edited by
      #2

      That was really a bizarre bug.

      My image had only one font: Bitstream Vera.
      Adding another font (fore example FreeSans.ttf) fixed unicode display with Vera.

      If Vera is the only one then unicode chars are broken. Looks like a bug in freetype or Qt?

      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