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 UTF-16. 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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
