[Development] QLocale work

John Layt jlayt at kde.org
Tue Jan 24 01:23:07 CET 2012


On Monday 23 Jan 2012 19:42:57 Thiago Macieira wrote:

> You mean QLocale and QTextStream.
> 
> QByteArray and QString do not need ICU since they are locale-independent.
> Parse LC_ALL=C in them only.

Yes, but the code is located in QLocalePrivate, and QSting/QByteArray create a 
C QLocale to call it.  We would have to add special methods for them to call 
to not use the ICU calls.

> It's also a good idea to keep that code for
> when QT_NO_LOCALE is in effect.

I'll need to look into that option more as to what effect it has.

John.




More information about the Development mailing list