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. Automated loading of language(say chinese) fonts in QML
Forum Updated to NodeBB v4.3 + New Features

Automated loading of language(say chinese) fonts in QML

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

    Hi,
    Please HELP!!
    I have a qml application (QT version 5.3.2 ) running on imx6
    I am loading the text of qml listview from a listmodel.I have mixed language data
    (english+chinese) to load in the list.But i could not display chinese fonts into the list.
    Then I copied wqy-microhei.ttf into /usr/lib/fonts,then added FontLoader in qml
    and setting the font family to the Text of ListView.It worked.

    But is it necessary to use the Font Loader and set the font family in qml?.Can't these language fonts be used directly from the path(/usr/lib/fonts) by Qt?

    Thanks!!

    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