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; ? _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
