[PyQt] build pyqt on mac osx 10.5.6

Massimo Di Stefano massimodisasha at yahoo.it
Sun Dec 6 03:03:11 GMT 2009


hi, 

have you any clue about this error 

http://paste.debian.net/53267/

g++ -c -pipe -fno-strict-aliasing -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.6.0/mkspecs/macx-g++ -I. -I/usr/local/Trolltech/Qt-4.6.0/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.6.0/include/QtCore -I/usr/local/Trolltech/Qt-4.6.0/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.6.0/include/QtGui -I/usr/local/Trolltech/Qt-4.6.0/include -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I../../QtCore -I. -I. -F/usr/local/Trolltech/Qt-4.6.0/lib -o qpycore_pyqtsignal.o qpycore_pyqtsignal.cpp
qpycore_pyqtsignal.cpp: In function ‘int qpycore_get_lazy_attr(const sipTypeDef*, PyObject*)’:
qpycore_pyqtsignal.cpp:458: error: ‘const struct _pyqt4QtSignal’ has no member named ‘docstring’
qpycore_pyqtsignal.cpp: At global scope:
qpycore_pyqtsignal.cpp:473: warning: ‘int add_overload(qpycore_pyqtSignal*, const char*, const char*)’ defined but not used
make[2]: *** [qpycore_pyqtsignal.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2


i'm on osx 10.6 qt-4.6 (cocoa) , sip snapshot , pyqt snapshot

i build qt from source with -cocoa flag

sip snapshot using this configure :

python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
-e /usr/local/include -v /usr/local/share/sip --arch=x86_64


and pyqt configure using :

python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin --use-arch x86_64


thanks for any help!

Massimo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20091206/34644f4d/attachment.html


More information about the PyQt mailing list