QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed for BOM: Bad file descriptor
-
wrote on 23 Sept 2010, 15:14 last edited by
Hello, I am running qt 4.7.0 with some QML code on a embedded ARM system. When I start the app I see:
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed for BOM: Bad file descriptor
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failedAnd the fonts are square boxes in the app. Any suggestions as to what is wrong, or how I can debug?
I'm running Qt on top of X11.
Thanks,
Cliff -
wrote on 23 Sept 2010, 19:49 last edited by
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.
-
wrote on 7 Dec 2010, 10:15 last edited by
Hi,
I have the same problem with BeagleBoard.
Have you solved?
-
wrote on 7 Jul 2011, 12:11 last edited by
Hi, I have the same problem...
Did you solved it ? Do you remember how ?Thanks in advance.
-
wrote on 7 Jul 2011, 12:19 last edited by
[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. -
wrote on 7 Jul 2011, 12:31 last edited by
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.
-
wrote on 8 Jul 2011, 08:36 last edited by
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"
....
EndSectionI still have the error message, but the fonts are displaying correctly...
-
wrote on 11 Apr 2012, 13:11 last edited by
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 failedAny 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.
-
wrote on 21 May 2012, 13:43 last edited by
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.
-
wrote on 19 Feb 2013, 16:45 last edited by
Pierrevr
I got it to work when i unselected "install full modular Xorg server" on my ltib menu.
Also installed liberation fonts.
-
wrote on 9 May 2015, 05:08 last edited by
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-icuAfter 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