Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt5.13 cannot display Chinese on browser



  • 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?



  • 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


Log in to reply