[Qt-interest] QGLFramebufferObject::blitFramebuffer() link problem
Liam Staskawicz
lstask at gmail.com
Mon Mar 22 08:32:47 CET 2010
Hi - on both 4.6.1 and 4.6.2 on OS X 10.6, installed from the release binaries, I've found that QGLFramebufferObject::blitFramebuffer() fails to link, complaining that the symbol is undefined. Other static members on the class, like hasOpenGLFramebufferBlit(), build fine.
The output of `otool -vT` on the QtOpenGL module shows that blitFramebuffer() is in there - __ZN20QGLFramebufferObject15blitFramebufferEPS_RK5QRectS0_S3_mm. Passing this through c++filt shows the signature as:
QGLFramebufferObject::blitFramebuffer(QGLFramebufferObject*, QRect const&, QGLFramebufferObject*, QRect const&, unsigned long, unsigned long)
whereas the link error shows the signature as
QGLFramebufferObject::blitFramebuffer(QGLFramebufferObject*, QRect const&, QGLFramebufferObject*, QRect const&, unsigned int, unsigned int)
Note the last two arguments are of different types in each. While I was writing this, I also stumbled upon http://old.nabble.com/Re:-Problem-with-snapshot-and-OpenGL-p27454323.html which shows the same problem. Maybe there's a problem with the pre-built Qt binaries in this case?
Please let me know if this is a known issue, or if I should open up a new report.
Thanks,
Liam
More information about the Qt-interest-old
mailing list