]> code.ossystems Code Review - openembedded-core.git/commit
qt4: add eglibc-gconv-utf-16 to QtCore RRECOMMENDS when using glibc
authorJonathan Liu <net147@gmail.com>
Thu, 20 Jun 2013 13:19:53 +0000 (23:19 +1000)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 8 Jul 2013 09:30:19 +0000 (10:30 +0100)
commit995502d19cce43430c3f4dce80ce6ef5feee7421
tree484d9546069101c7b864024f27a26f2cb66ec3ed
parent3f6c1307e1ad2d3ca3fd53bfb7f2a5eac31bee33
qt4: add eglibc-gconv-utf-16 to QtCore RRECOMMENDS when using glibc

This fixes the following warnings when running Qt applications:
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed

Qt's QString class stores strings internally using UTF-16 encoding.
The UTF-16 iconv module is needed to convert between the system's local
8-bit representation and QString's UTF-16 encoding.

For example, the following functions would be affected:
QString::fromLocal8Bit(...)
QString::toLocal8Bit(...)

If the UTF-16 iconv module couldn't be loaded, it would use Latin-1
encoding instead of the system's encoding for conversion.

[YOCTO #349]

(From OE-Core master rev: 2e9c8007bca684149d72e96423f30433b6665fad)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-qt/qt4/qt4.inc