[Development] ICU and Windows

Thiago Macieira thiago.macieira at intel.com
Thu Mar 7 20:33:40 CET 2013

On quinta-feira, 7 de março de 2013 16.16.05, Koehne Kai wrote:
> I'm not 100% happy with the patch though because we have an inherent timing
> problem: ICU data might be accessed & cached before QCoreApplication is
> created and has opened the .dat file. This happens in fact already by
> default, when we're trying to get the configured data path from
> QLibraryInfo, at which point the default codec is cached - I explicitly fix
> this particular issue by resetting the cache afterwards. Anyhow, it could
> very well be that we hit similar issues in the future.

That's why the text codecs used to be built-in to QtCore depending on the 
configuration: we need the locale codec in order to translate paths from 

You'll probably run into an infinite loop unless you completely avoid QString 
and all our FS classes.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130307/c97a2a90/attachment.sig>

More information about the Development mailing list