CSS and KJS Parser and Qt/e 2: Final summary

Harri Porten porten at froglogic.com
Thu Feb 2 16:52:55 GMT 2006


On Thu, 2 Feb 2006, Stefan Eilers wrote:

> Just to remember the problem:
> QChar within Qt/e 2 uses to uchars to store a unicode char. Ich you do
> something like
>
> ushort unicode;
> QChar* qchar = (QChar*) &unicode;
>
> you will get a wrong qchar if you use Qt 2 on a little endian machine.

Not sure I agree. As far as I remember the Qt 2 -> 3 change the cast
itself is correct for both version. It's just that the assumptions made by
KJS's UString and the CSS parser needed to be adopted.

Harri.





More information about the kfm-devel mailing list