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> from /Library/Frameworks/QtCore.framework/Headers/QMetaType:1,<br> from sipAPIQtCore.h:40,<br> 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>