[Development] QtCore is 2 MB larger in Qt 5

lars.knoll at nokia.com lars.knoll at nokia.com
Tue Jul 31 16:30:53 CEST 2012


On Jul 13, 2012, at 3:09 PM, ext Thiago Macieira <thiago.macieira at intel.com> wrote:
[snip]
>>>> 57900 .obj/release-shared/qeuckrcodec.o:.rodata 0xe22c 0x0
>>>> 134944 .obj/release-shared/qbig5codec.o:.rodata 0x20f20 0x0
>>>> 133792 .obj/release-shared/qjpunicode.o:.rodata 0x20aa0 0x0
>>>> 117842 .obj/release-shared/qgb18030codec.o:.rodata 0x1cc52 0x0
>>> 
>>> Codecs linked in instead of in plugins or what?
>> 
>> Yes.
>> https://codereview.qt-project.org/#change,12955
>> The problem is that codecs in plugin do not really work as we need codecs to
>> load plugin (in order to convert the paths, and so on)
>> What Qt did is to consider everything as latin1 before they were loaded. But
>> this was not working well.
>> 
>> In the long term, Qt should not have its own code for all those codecs, but
>> rely on the platform libraries.
> 
> That's the plan for Qt 5.1.
> 
> We need to replace those codecs with ICU.

A series of patches just went in fixing this already for 5.0.

Cheers,
Lars





More information about the Development mailing list