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. QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed for BOM: Bad file descriptor
Forum Update on Monday, May 27th 2025

QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed for BOM: Bad file descriptor

Scheduled Pinned Locked Moved Mobile and Embedded
11 Posts 8 Posters 26.3k 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.
  • C Offline
    C Offline
    cbrake
    wrote on last edited by
    #2

    the QIconvCodec messages appear to be benign.

    The problem with the square boxes for fonts was simply that I did not have ttf fonts installed on my target system.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      luca
      wrote on last edited by
      #3

      Hi,

      I have the same problem with BeagleBoard.

      Have you solved?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mirgas
        wrote on last edited by
        #4

        Hi, I have the same problem...
        Did you solved it ? Do you remember how ?

        Thanks in advance.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          loladiro
          wrote on last edited by
          #5

          [quote author="cbrake" date="1285271356"]the QIconvCodec messages appear to be benign.

          The problem with the square boxes for fonts was simply that I did not have ttf fonts installed on my target system.[/quote]
          The original problem seemed to have been missing fonts. Without more information about what you're trying to do, we won't be able to help you.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Mirgas
            wrote on last edited by
            #6

            I am just trying to launch a Qt app.
            How can I know which fonts Qt is trying to use ?
            Where the fonts are supposed to be ?
            Because I have fonts installed on my system, I can see them using fc-list.

            An exemple of the problem :
            http://imageshack.us/photo/my-images/155/screenshotmcb.png/

            Thanks.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Mirgas
              wrote on last edited by
              #7

              Solved it !

              I needed to update the xorg.conf file :

              Section "Files"
              FontPath "/usr/share/fonts/X11/100dpi"
              FontPath "/usr/share/fonts/X11/75dpi"
              FontPath "/usr/share/fonts/default/ghostscript"
              ....
              EndSection

              I still have the error message, but the fonts are displaying correctly...

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pierrevr
                wrote on last edited by
                #8

                Hi, excuse me if the thread I'm reviving is already quite old, but I don't see a suggested solution here. I"m currently debugging something, so I'd like to cover alle the bases. I don't think it keeps the app from functioning, but who knows...

                I am having the same error message when I start any applications, using Qt 5 with the EglFS and Wayland plugins.

                bq. QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
                QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed

                Any ideas what this could be? I don't have X, and all fonts are installed... I've been working on Qt 5 since around 2 months now, and it appeared just recently.

                I am also working on an ARM platform. Freescale i.MX515 to be exact.

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  omatrix
                  wrote on last edited by
                  #9

                  It seems that your Qt libs are not correct versions on target platform. you can copy libQtCore and other needed libs to your target platform Qt lib path.

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    chiscou
                    wrote on last edited by
                    #10

                    Pierrevr

                    I got it to work when i unselected "install full modular Xorg server" on my ltib menu.

                    Also installed liberation fonts.

                    1 Reply Last reply
                    0
                    • V Offline
                      V Offline
                      Vijaykumar Ponugoti
                      wrote on last edited by
                      #11

                      Hi all,
                      I am also facing the same problem. I am trying to build qt5.2 with opengl es2 for my arm controller using the configuration
                      ./configure -prefix /usr/qte5.2 -release -make libs -make examples -nomake tools -xplatform linux-omap5-g++ -opengl es2 -confirm-license -opensource -no-xcb -no-pch -verbose -kms -sysroot /home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/targetfs -v -no-icu

                      After make install I am able to find all the cross compiled libraries. But I counld not find the fonts folder.
                      I copied all the libraries onto my target and tried executing some application but I am gettitng error as follows.

                      root@dra7xx-evm:~# ./Wid1 -platform kms
                      QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
                      QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
                      QSocketNotifier: Can only be used with threads started with QThread
                      QSocketNotifier: Can only be used with threads started with QThread
                      QSocketNotifier: Can only be used with threads started with QThread
                      root@dra7xx-evm:~#

                      Please help me in this regard.

                      Thanks a lot,
                      Vijay

                      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