<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi You need the 64bit version of Qt (cocoa)<div><br></div><div>then to build sip and pyqt i used :</div><div><br></div><div><br></div><div>SIP :</div><div><br></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif; line-height: 16px; font-size: small; "><pre style="font-size: 1em; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(102, 102, 102); border-right-color: rgb(102, 102, 102); border-bottom-color: rgb(102, 102, 102); border-left-color: rgb(102, 102, 102); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; padding-top: 15px; padding-right: 20px; padding-bottom: 15px; padding-left: 20px; overflow-x: auto; overflow-y: auto; background-position: initial initial; background-repeat: initial initial; ">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</pre></span><div><br></div><div>PYQT :</div><div><br></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif; line-height: 16px; font-size: small; "><pre style="font-size: 1em; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(102, 102, 102); border-right-color: rgb(102, 102, 102); border-bottom-color: rgb(102, 102, 102); border-left-color: rgb(102, 102, 102); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; padding-top: 15px; padding-right: 20px; padding-bottom: 15px; padding-left: 20px; overflow-x: auto; overflow-y: auto; background-position: initial initial; background-repeat: initial initial; ">python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin --use-arch x86_64</pre></span><div><br></div></div></div><div>i hope this help.</div><div><br></div><div><br><div><div>Il giorno 25/feb/2010, alle ore 14.18, &lt;<a href="mailto:projetmbc@club-internet.fr">projetmbc@club-internet.fr</a>&gt; &lt;<a href="mailto:projetmbc@club-internet.fr">projetmbc@club-internet.fr</a>&gt; ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello,<br>I've downloaded qt-sdk-mac-opensource-2010.02.dmg . I've installed it.<br><br>Then I've downloaded PyQt-mac-gpl-4.7 and sip-4.10.<br><br>I've compiled sip using the following commands :<br><br><blockquote>python3.1 configure.py<br>make<br>sudo make install<br></blockquote><br>No problem.<br><br>Then I decide, because I'm a crazy man :-) to compile pyqt using the following commands :<br>
<br>
<blockquote>python3.1 configure.py<br>
make<br>
sudo make install<br></blockquote><br>The make gives me the following "boring" error :<br>------------------------------------------------------------------------------------------------------------------------------------------------<br>/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error:<br>#error "You are building a 64-bit application, but using a 32-bit 
version of Qt. Check your build configuration."<br>
sipQtCorecmodule.cpp: In function ‘PyObject* PyInit_QtCore()’:<br>
sipQtCorecmodule.cpp:9854: warning: missing initializer for member 
‘PyModuleDef_Base::m_init’<br>
sipQtCorecmodule.cpp:9854: warning: missing initializer for member 
‘PyModuleDef_Base::m_index’<br>
sipQtCorecmodule.cpp:9854: warning: missing initializer for member 
‘PyModuleDef_Base::m_copy’<br>
make[1]: *** [sipQtCorecmodule.o] Error 1<br>
make: *** [all] Error 2<br>------------------------------------------------------------------------------------------------------------------------------------------------<br><br>What can I do ? Must I use another framework like wxPython ?<br><br>Best regards.<br>Christophe.<br><br>=== The whole message given by make ====<br><br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_chimera.o qpycore_chimera.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_chimera_signature.o qpycore_chimera_signature.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_chimera_storage.o qpycore_chimera_storage.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_init.o qpycore_init.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_misc.o qpycore_misc.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_post_init.o qpycore_post_init.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_pyqtboundsignal.o qpycore_pyqtboundsignal.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_pyqtconfigure.o qpycore_pyqtconfigure.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_pyqtproperty.o qpycore_pyqtproperty.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_pyqtproxy.o qpycore_pyqtproxy.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_pyqtpyobject.o qpycore_pyqtpyobject.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_pyqtsignal.o qpycore_pyqtsignal.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_pyqtslot.o qpycore_pyqtslot.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_qmetaobject.o qpycore_qmetaobject.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_qmetaobject_helpers.o qpycore_qmetaobject_helpers.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_qobject_helpers.o qpycore_qobject_helpers.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_qstring.o qpycore_qstring.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_qstringlist.o qpycore_qstringlist.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_sip_helpers.o qpycore_sip_helpers.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_types.o qpycore_types.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o qpycore_qvariant.o qpycore_qvariant.cpp<br>/Developer/Tools/Qt/moc -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -D__APPLE__ -D__GNUC__ qpycore_pyqtproxy.h -o moc_qpycore_pyqtproxy.cpp<br>g++ -c -pipe -fno-strict-aliasing -O2 -arch i386 -fPIC -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/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I../../QtCore -I. -I. -F/Library/Frameworks -o moc_qpycore_pyqtproxy.o moc_qpycore_pyqtproxy.cpp<br>rm -f libqpycore.a<br>ar cq libqpycore.a qpycore_chimera.o qpycore_chimera_signature.o qpycore_chimera_storage.o qpycore_init.o qpycore_misc.o qpycore_post_init.o qpycore_pyqtboundsignal.o qpycore_pyqtconfigure.o qpycore_pyqtproperty.o qpycore_pyqtproxy.o qpycore_pyqtpyobject.o qpycore_pyqtsignal.o qpycore_pyqtslot.o qpycore_qmetaobject.o qpycore_qmetaobject_helpers.o qpycore_qobject_helpers.o qpycore_qstring.o qpycore_qstringlist.o qpycore_sip_helpers.o qpycore_types.o qpycore_qvariant.o moc_qpycore_pyqtproxy.o<br>ranlib -s libqpycore.a<br>g++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/Users/cbal/Downloads/PyQt-mac-gpl-4.7/qpy/QtCore -I/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -I/mkspecs/macx-g++ -I/Library/Frameworks/QtCore.framework/Headers -I/usr/include -F/Users/cbal/Downloads/PyQt-mac-gpl-4.7/qpy/QtCore -F/Library/Frameworks -o sipQtCorecmodule.o sipQtCorecmodule.cpp<br>In file included from /Library/Frameworks/QtCore.framework/Headers/qmetatype.h:45,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /Library/Frameworks/QtCore.framework/Headers/QMetaType:1,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from sipAPIQtCore.h:40,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from sipQtCorecmodule.cpp:34:<br>/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."<br>sipQtCorecmodule.cpp: In function ‘PyObject* PyInit_QtCore()’:<br>sipQtCorecmodule.cpp:9854: warning: missing initializer for member ‘PyModuleDef_Base::m_init’<br>sipQtCorecmodule.cpp:9854: warning: missing initializer for member ‘PyModuleDef_Base::m_index’<br>sipQtCorecmodule.cpp:9854: warning: missing initializer for member ‘PyModuleDef_Base::m_copy’<br>make[1]: *** [sipQtCorecmodule.o] Error 1<br>make: *** [all] Error 2<br><br><br>_______________________________________________<br>PyQt mailing list &nbsp;&nbsp;&nbsp;<a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></blockquote></div><br></div></body></html>