Hi,

I am trying to get a 32 bit build of PyQt because the app I am developing depends on some 32 bit Python extension modules.

The following error happens when loading QtGui.so

>>> from PyQt4.QtCore import *
>>> from PyQt4.QtGui import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/QtGui.so, 2): Symbol not found: __ZN13QPyTextObject16staticMetaObjectE Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/QtGui.so
  Expected in: flat namespace
in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/QtGui.so

This is using a 32 bit build of MacPorts Python (2.6.6) . I have built and installed Qt 4.7.2, SIP 4.12.3 and PyQt 4.8.4 as the 32 bit versions and confirmed that the relevant files are 32 bit using the file command.

This thread <http://www.riverbankcomputing.com/pipermail/pyqt/2010-May/026681.html> describes the same issue with a 64 bit build that appears to have been due to a version mismatch, which was resolved by cleaning and rebuilding everything. I have done this, making sure that it is all 32 bit, but I still get the error.

Advice about how to fix this would be greatly appreciated.

Glenn





_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to