[Qt-interest] QT 4.6.1 on Solaris 10 X86 - Weirdness

Jonathan Kew jonathan_kew at sil.org
Tue Feb 16 17:45:01 CET 2010


On 16 Feb 2010, at 16:05, Neil Houston wrote:

> Hello guys,
> 
> I'm making some Solaris packages, build went OK but I have some rather 
> ... unusual problems.
> 
> The first two are probably related; when I run one of the examples which 
> is likely to produce a lot of warnings / output (such as a the hellogl 
> example) I'm presented with output in Chinese (or some other asian 
> language) - a picture tells 1000 words: 
> http://www.blastwave.org/upload/Screenshot.png (Yes, that's gnome - not 
> my choice)
> 
> Secondly, after the program exits I see a number of folders in my ~/ 
> also with Chinese or other chars in their name:
> 
> neil at ray3:~ > ls -l
> total 1160844
> drwxr-xr-x 2 neil xvm 2 Feb 16 17:02 ⼀栀漀洀攀

The Chinese characters here are U+2F00 U+6800 U+6F00 U+6D00 U+6500.

Those look "suspicious"..... they ALL have 0x00 as their low byte. I'd guess there's an endian-ness problem somewhere, and they should have been the byte-swapped versions U+002F U+0068 U+006F U+006D U+0065. Which would spell out "/home".

If you "decode" the remaining filenames in the same way, I bet they'll all make sense as typical paths.

Are you doing this on a SPARC machine, by any chance? IIRC, those are big-endian, whereas most other current platforms are little-endian. I don't know exactly what went wrong - maybe a missing or incorrect configure test, or a code bug somewhere? - but I'd say you should be checking big/little-endian issues carefully.

HTH,

JK

> drwxr-xr-x 2 neil xvm 2 Feb 16 17:02 ⼀栀漀洀攀⼀渀攀椀氀
> drwxr-xr-x 2 neil xvm 2 Feb 16 17:02 ⼀栀漀洀攀⼀渀攀椀氀⼀⸀挀漀渀昀椀最
> drwxr-xr-x 2 neil xvm 2 Feb 16 17:02 ⼀栀漀洀攀⼀渀攀椀氀⼀⸀挀漀渀昀椀最 
> ⼀吀爀漀氀氀琀攀挀栀
> -rw-r--r-- 1 neil xvm 592 Feb 16 17:02 ⼀栀漀洀攀⼀渀攀椀氀⼀⸀挀漀渀昀椀 
> 最⼀吀爀漀氀氀琀攀挀栀⸀挀漀渀昀
> -rw------- 1 neil xvm 0 Feb 16 17:02 ⼀栀漀洀攀⼀渀攀椀氀⼀⸀挀漀渀昀椀最 
> ⼀吀爀漀氀氀琀攀挀栀⸀挀漀渀昀⸀堀堀堀堀堀堀
> -rw-r--r-- 1 neil xvm 50 Feb 16 17:02 ⼀栀漀洀攀⼀渀攀椀氀⼀⸀挀漀渀昀椀 
> 最⼀吀爀漀氀氀琀攀挀栀⼀䄀瀀瀀氀椀挀愀琀椀漀渀 䔀砀愀洀瀀氀攀⸀挀漀渀昀
> -rw------- 1 neil xvm 0 Feb 16 17:02 ⼀栀漀洀攀⼀渀攀椀氀⼀⸀挀漀渀昀椀最 
> ⼀吀爀漀氀氀琀攀挀栀⼀䄀瀀瀀氀椀挀愀琀椀漀渀 䔀砀愀洀瀀氀攀⸀挀漀渀昀⸀堀 
> 堀堀堀堀堀
> -rw-r--r-- 1 neil xvm 45 Feb 16 17:02 ⼀栀漀洀攀⼀渀攀椀氀⼀愀猀搀愀猀搀
> 
> Lastly, the applications all look like they're using motif instead of QT...
> 
> Any suggestions on the first two?
> 
> Cheers,
> 
> houston - blastwave.org
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list