QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed for BOM: Bad file descriptor
-
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 -
[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. -
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.
-
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...
-
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.
-
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