[PyQt] PyQt-mac-gpl-4.3-snapshot-20070813 compile error

Bob Tanner tanner at real-time.com
Fri Aug 17 04:55:23 BST 2007


Pretty new to osx, long time linux guy, I cannot seem to figure out why
I cannot get PyQt to compile on my osx 10.4

$ uname -a
Darwin mage.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23
16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386

$ qmake -v
QMake version 2.01a
Using Qt version 4.4.0-snapshot-20070814 in /Developer/qt/lib

$ python -V
Python 2.5.1

$ c++ --version
i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)

$ sip -V       
4.7 (4.7)

QScintilla-gpl-2-snapshot-20070812

$ python ./configure.py -a -k -g
<snip>
$ make
<snip>
c++ -c -pipe -arch ppc -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -Os -Wall -W -DSIP_STATIC_MODULE
-DQT_NO_DEBUG -DQT_XML_LIB -DQT_TEST_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB
-DQT_OPENGL_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I.
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-I/Developer/qt/mkspecs/default -I/Developer/qt/include/QtXml
-I/Developer/qt/include/QtTest -I/Developer/qt/include/QtSvg
-I/Developer/qt/include/QtSql -I/Developer/qt/include/QtScript
-I/Developer/qt/include/QtOpenGL -I/Developer/qt/include/QtNetwork
-I/Developer/qt/include/QtGui -I/Developer/qt/include/QtCore
-I/Developer/qt/include -o sipQtGuiQGraphicsSceneDragDropEvent.o
sipQtGuiQGraphicsSceneDragDropEvent.cpp
sipQtGuiQGraphicsSceneDragDropEvent.cpp: In constructor
'sipQGraphicsSceneDragDropEvent::sipQGraphicsSceneDragDropEvent(const
QGraphicsSceneDragDropEvent&)':
/Developer/qt/include/QtGui/qgraphicssceneevent.h:272: error:
'QGraphicsSceneDragDropEvent::QGraphicsSceneDragDropEvent(const
QGraphicsSceneDragDropEvent&)' is private
sipQtGuiQGraphicsSceneDragDropEvent.cpp:81: error: within this context
sipQtGuiQGraphicsSceneDragDropEvent.cpp: In constructor
'sipQGraphicsSceneDragDropEvent::sipQGraphicsSceneDragDropEvent(const
QGraphicsSceneDragDropEvent&)':
/Developer/qt/include/QtGui/qgraphicssceneevent.h:272: error:
'QGraphicsSceneDragDropEvent::QGraphicsSceneDragDropEvent(const
QGraphicsSceneDragDropEvent&)' is private
sipQtGuiQGraphicsSceneDragDropEvent.cpp:81: error: within this context
lipo: can't open input file: /var/tmp//ccvqUrVH.out (No such file or
directory)
make[1]: *** [sipQtGuiQGraphicsSceneDragDropEvent.o] Error 1
make: *** [all] Error 2


More information about the PyQt mailing list