[PyQt] Problem with snapshot and OpenGL on MAC

Brian Brown rbb at techgame.net
Thu Jan 7 18:49:42 GMT 2010

Ok, I'll try again...

I have a freshly downloaded and intalled Qt 4.6 on Mac OS X Leopard (10.5.8).

I downloaded, built and installed the latest commercial snapshot (as of yesterday it was the 12-31 snapshot).

The qtdemo app with the Qt 4.6 install works and the OpenGL examples run fine. When I try to import PyQt4.QtOpenGL I get the error:

Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4 import QtOpenGL
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/QtOpenGL.so, 2): Symbol not found: __ZN20QGLFramebufferObject15blitFramebufferEPS_RK5QRectS0_S3_jj
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/QtOpenGL.so
  Expected in: dynamic lookup

Any idea what is going on?



On Dec 31, 2009, at 1:00 AM, Brian Brown wrote:

> Hello,
> After building the latest snapshots of sip and pyqt against Qt 4.6, I get the following:
> from PyQt4 import QtOpenGL
> dlopen(PyQt4/QtOpenGL.so, 2): Symbol not found: __ZN20QGLFramebufferObject15blitFramebufferEPS_RK5QRectS0_S3_jj
> Any ideas?
> - Brian
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

More information about the PyQt mailing list