[Qt-interest] QTextCodec?

Thiago Macieira thiago at kde.org
Wed Aug 18 18:01:32 CEST 2010


On Wednesday 18 August 2010 14:47:55 nobody wrote:
> Hi,
> Anyone know if this function will work without libiconv installed on
> win32 QTextCodec::toUnicode() ?
> 
> I can't find any configure option using enable iconv with Qt-4.7 beta2
> But this particular function crash at run-time
> QTextCodec::codecForName("supported encodings")
> The returned codec is zero.

Qt doesn't offer you codecs from libiconv. It uses libiconv only to translate 
the Unix locale to UTF-8, so that we don't need to detect which charset the 
locale uses.

libiconv is not used on Windows.

That also means that Qt offers exactly the same codecs on Windows, on Mac and 
on Linux, but not on Symbian (on Symbian, we actually do offer the codecs from 
the system).

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100818/5b642320/attachment.bin 


More information about the Qt-interest-old mailing list