Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5.13 cannot display Chinese on browser
Forum Updated to NodeBB v4.3 + New Features

Qt5.13 cannot display Chinese on browser

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 241 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.
  • thamT Offline
    thamT Offline
    tham
    wrote on last edited by
    #1

    Qt version : 5.13.0, webassembly
    os : ubuntu16.04

    Porting a very simple Qt app to browser, it is just a QPlainTextEdit, no matter how I try, it can't show Chinese on the QPlainTextEdit on Chrome/Firefox, I have tried the textEdit example at here too.

    Sounds like webassembly of Qt support do not support unicode yet?

    1 Reply Last reply
    0
    • thamT Offline
      thamT Offline
      tham
      wrote on last edited by
      #2

      Found the answer, webassembly do not come with system fonts, you need to load a font manually. You can use FontZip2 to save some space of your webapp

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved