Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. I want to output Hangul in qt program.
Forum Updated to NodeBB v4.3 + New Features

I want to output Hangul in qt program.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 1.4k 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.
  • T Offline
    T Offline
    this
    wrote on last edited by this
    #1

    I am developing a crosscompile from ubuntu Qt to raspberr pi3.
    When running on Qt of ubuntu, Hangul is printed well on ui.
    However, when run on rasspberrypi with crosscompile, Hangul is broken.

    Of course, I have set up and installed Hangul at rasbperr pi.

    Also, I confirmed that Hangul is well in the string when debugging in Qt of ubuntu.
    However, ui which is executed by rasspberrypi does not output Hangul.
    Special characters are not output as well.

    Hangul is Korean language.
    I tried to output Hangul using 'fromUtf8' function.

    I developed raspberry pi3 to version Qt5.4.2.
    Please help me

    m.sueM 1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Can you try it out with some newer Qt version? Do other (non-Qt) applications show Hangul correctly? Have you tried displaying some other font, maybe the characters are missing in default one?

      (Z(:^

      T 1 Reply Last reply
      0
      • T this

        I am developing a crosscompile from ubuntu Qt to raspberr pi3.
        When running on Qt of ubuntu, Hangul is printed well on ui.
        However, when run on rasspberrypi with crosscompile, Hangul is broken.

        Of course, I have set up and installed Hangul at rasbperr pi.

        Also, I confirmed that Hangul is well in the string when debugging in Qt of ubuntu.
        However, ui which is executed by rasspberrypi does not output Hangul.
        Special characters are not output as well.

        Hangul is Korean language.
        I tried to output Hangul using 'fromUtf8' function.

        I developed raspberry pi3 to version Qt5.4.2.
        Please help me

        m.sueM Offline
        m.sueM Offline
        m.sue
        wrote on last edited by
        #3

        Hi @this

        You may need to install a corresponding font like e.g. fonts-alee.

        -Michael.

        1 Reply Last reply
        0
        • sierdzioS sierdzio

          Can you try it out with some newer Qt version? Do other (non-Qt) applications show Hangul correctly? Have you tried displaying some other font, maybe the characters are missing in default one?

          T Offline
          T Offline
          this
          wrote on last edited by
          #4

          @sierdzio I have not tried another version of qt yet.
          However, I do not use other fonts.
          I only use the default font that is defined.

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            Yes, that is my point - maybe the default font does not have Korean glyphs defined.

            I don't know, though, this is not something I have ever tried.

            (Z(:^

            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