[Qt] Den's question about 2 Qt functions

Den Jean Den.Jean at telenet.be
Sun Jan 28 12:34:33 CET 2007


On Saturday 27 January 2007 21:39, Hess, Philip J wrote:
> Both functions are in QtGui, but I think it's CGImageRef that the compiler
> doesn't understand. Where is CGImageRef defined?


grep -r CGImageRef src/* :
src/gui/kernel/qwindowdefs.h:typedef struct CGImage *CGImageRef;

but I cannot find the definition of CGImage

....

src/gui/painting/qpaintengine_raster.cpp:#ifdef 
kCGBitmapByteOrder32Host //only needed because CGImage.h added symbols in the 
minor version

but I do not find/have CGImage.h

I will just define it as a pointer

regards,

Den Jean




More information about the Qt mailing list