On Wed, Nov 04, 2015 at 02:59:05PM +0000, Matthias Klein wrote: > Hello, > > every qt5 (console programm) which I compile against qt5 from the latest > ptxdist version showes the following messages at start: (but then starts / > runs) > QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open > failed > QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open > failed > The libc contains the iconv functions: > /opt/OSELAS.Toolchain-2014.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized/bin/arm-cortexa8-linux-gnueabihf-nm > ~/bsp/platform-tx53-3.12-rt/root-debug/lib/libc-2.20.so | grep iconv > 00016c18 T iconv > 00016d54 T iconv_close > 00016a90 T iconv_open > There are also modules in the rootfs > ls -l /usr/lib/gconv/ > -rwxr-xr-x 1 root root 5504 Nov 4 12:46 ISO8859-1.so > -rwxr-xr-x 1 root root 9600 Nov 4 12:46 ISO8859-15.so > -rw-r--r-- 1 root root 56284 Nov 4 12:46 gconv-modules > > The same console application did run without these messages when building > against qt4. > (The qt5 build (and the qt4 build in the past) is without GUI) > > Does anyone has a tip whats the reason for these messages?
I don't know why this happens in qt5 and not in qt4 but I think enabling the gconv unicode modules (GLIBC_GCONV_UTF) should help. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
