[Qt-jambi-interest] building jambi 4.4.0_01 with java-openjdk 1.6

Gunnar Sletta gunnar at trolltech.com
Tue Aug 5 11:59:50 CEST 2008


Dirk Mueller wrote:
> On Tuesday 05 August 2008, Gunnar Sletta wrote:
> 
>> This is a problem with how and which header files the generator picks
>> up. the toChar method stems from QByteArray::toUShort() which returns a
>> ushort. The method is rejected, as you can probably see in the generator
>> output, as a result of ushort being an undefined type. "ushort" is
>> declared in qglobal.h so any Qt header will have it.
> 
> Indeed. What you didn't mention: is that expected or is that an error? I 
> assume that it is an error, but given that you figured that all out without me 
> pointing to the full logfile, it could also be perfectly normal behaviour. 
> FWIW, this is the full generator output: 

It is an error, and Jesper showed me your logfile yesterday ;-)

>> You can see how the preprocessor output looks, by looking at the
>> JAMBI/generator/.preprocessor.tmp file and see which qglobal.h it
>> includes, my guess is its the wrong one.
> 
> it includes the one that was installed by Qt 4.4.0. 

Does the .preprocessor.tmp also include the typedefs:

typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;

?




More information about the Qt-jambi-interest mailing list