On Oct 22, 2008, at 17:35 , Jerry Huxtable wrote:

> When calling QGLWidget::bindTexture, we get this linker error under 64
> bits, but not 32 bits:
>
> Undefined symbols:
>   "QGLWidget::bindTexture(QImage const&, unsigned long, long)",
> referenced from:
>
> I note that GLenum is defined as "unsigned int" in gl.h, so I'm not
> sure where the "long" is coming from.

Well, believe it or not it wasn't always defined as unsigned int  
(well, in 32-bit mode at least). It's a messy story, but to cut to the  
chase, to be compatible on multiple versions of Mac OS X we basically  
have to define both a ulong version and a uint version.

However, this shouldn't be happening when building for Cocoa as we are  
using 10.5 which only has the uint version. Are you using a different  
SDK than 10.5?

-- Trenton

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to