[PyQt] pyqt 4.7+ on mac osx snow leopard

Phil Thompson phil at riverbankcomputing.com
Wed Feb 3 00:07:13 GMT 2010


On Wed, 3 Feb 2010 00:58:21 +0100, Massimo Di Stefano
<massimodisasha at yahoo.it> wrote:
> Hi All,
> 
> 
> i'm tring to install pyqt on my snow leopard, until the last week i used
:
> 
> Qt-4.6 build from source (-cocoa) and pyqt4.6.2 (all worked fine)
> for some reason i had to switch to a Qt4-4.6 (dmg installer -64bit) 
> and now tring to install pyqt (i tried both  pyqt-4.7 (+sip-4.10) and
> pyqt-sip-snapshot)
> 
> but i'm having this error (for both versions i tried) :
> 
> 
> Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore
> -I/Library/Frameworks/QtGui.framework/Versions/4/Headers
> -I/usr/include/QtGui -I/usr/include -I/usr/local/include
>
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
> -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_pyqtpyobject.o
> qpycore_pyqtpyobject.cpp
> g++ -c -pipe -fno-strict-aliasing -O2 -fPIC -arch x86_64 -Xarch_x86_64
> -mmacosx-version-min=10.5 -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB
> -DQT_SHARED -I/usr/local/Qt4.6/mkspecs/macx-g++ -I.
> -I/Library/Frameworks/QtCore.framework/Versions/4/Headers
> -I/usr/include/QtCore
> -I/Library/Frameworks/QtGui.framework/Versions/4/Headers
> -I/usr/include/QtGui -I/usr/include -I/usr/local/include
>
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
> -I../../QtCore -I. -I. -F/Library/Frameworks -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’

Looks like an older version of SIP is getting in the way.

Phil


More information about the PyQt mailing list