Trolltech Home | Qt-embedded-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-embedded-interest Archive, May 2007
Why I can NOT compile my qt-embedded-free-3.3.4 with gcc-4.1.2 ?


Message 1 in thread

Dear All:
 
I could use gcc-3.4.5 to compile qt-embedded-free-3.3.4,
while could not use gcc-4.1.2 to compile it.
 
The error message is: ../include/qstring.h:199: error: cannot bind packed field '((QChar*)this)->QChar::ucs' to 'ushort&'
 
Have anybody met similar question before? 
Please help me. Thank you very much!
 
=======================================
Daniel Lu
 
Shanghai Technology Center
 
Address: 361 Juli Road,Pudong New Area,
         Shanghai,P.R.China (Postcode: 201203)
Tel:     +86-21-61007176 (X-158-7176)
Fax:     +86-21-61007080
=======================================
 

Message 2 in thread

Hi,

> I could use gcc-3.4.5 to compile qt-embedded-free-3.3.4,
> while could not use gcc-4.1.2 to compile it.

Could you give Qt/Embedded 3.3.8 a try? This might have been fixed there.

--
 [ signature omitted ] 

Message 3 in thread

Lu, Daniel wrote:
> Dear All:
> I could use gcc-3.4.5 to compile qt-embedded-free-3.3.4,
> while could not use gcc-4.1.2 to compile it.
> The error message is: ../include/qstring.h:199: error: cannot bind 
> packed field '((QChar*)this)->QChar::ucs' to 'ushort&'
> Have anybody met similar question before?
Yes. I saw similar things with qt-embedded-3.3.7 and gcc 4.0.2 on arm.

I fixed this for me with the following patch. If you are using arm, you 
could give it a try.

http://lists.trolltech.com/qt-embedded-interest/2007-03/msg00003.html


Best regards,

Andre

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx


Message 4 in thread

Hi,

> I fixed this for me with the following patch. If you are using arm, you 
> could give it a try.
> 
> http://lists.trolltech.com/qt-embedded-interest/2007-03/msg00003.html

Ah, I see. This doesn't seem to have been fixed in Qt 3.3.8.

You might want to report this issue to Trolltech, although I cannot guarantee 
there will be future versions of Qt 3 integrating this fix.

--
 [ signature omitted ] 

Message 5 in thread

Dimitri wrote:
> Hi,
>
>> I fixed this for me with the following patch. If you are using arm, 
>> you could give it a try.
>>
>> http://lists.trolltech.com/qt-embedded-interest/2007-03/msg00003.html
>
> Ah, I see. This doesn't seem to have been fixed in Qt 3.3.8.
>
> You might want to report this issue to Trolltech, although I cannot 
> guarantee there will be future versions of Qt 3 integrating this fix.
Hi Dimitri,

I did report this to trolltech. The issue number N154641 i got from the 
task tracker seems to refer to another (completely unrelated) problem 
though.
I had a little conversation with Donald Carr from qt-bugs. You may ask 
him for details.

Best,

Andre

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx