[PyQt] Snow Leopard
Christian Caron
ccaron at fattoc.com
Tue Sep 1 17:45:59 BST 2009
I can't seem to compile PyQt on Snow Leopard.
I installed Snow Leopard with the xcode that came with the disk.
Built Qt 4.5.2: ./configure -opensource -framework -no-qt3support -fast
Built SIP 4.8.2
PyQt 4.5.4: When I run python configure.py it determines that only
PyQt4.QtCore will be built. I looked in configure.py and all the other
cfgtext_* fail to build with the following error message:
ccaron$ g++ -DQT_NO_DEBUG -DQT_GUI_LIB -I. -I/usr/local/Trolltech/
Qt-4.5.2/mkspecs/default -I/usr/local/Trolltech/Qt-4.5.2/lib/
QtGui.framework/Headers -I/usr/local/Trolltech/Qt-4.5.2/include -pipe -
Os -w cfgtest_QtGui.cpp -o cfgtest_QtGui -F/usr/local/Trolltech/
Qt-4.5.2/lib -L/usr/local/Trolltech/Qt-4.5.2/lib -
headerpad_max_install_names -framework QtGui -L/usr/local/Trolltech/
Qt-4.5.2/lib -F/usr/local/Trolltech/Qt-4.5.2/lib -framework Carbon -
framework AppKit -framework QtCore -L/usr/local/Trolltech/Qt-4.5.2/lib
-lz -lm -framework ApplicationServices
In file included from /usr/local/Trolltech/Qt-4.5.2/include/QtGui/
qmatrix.h:46,
from /usr/local/Trolltech/Qt-4.5.2/include/QtGui/
qbrush.h:49,
from /usr/local/Trolltech/Qt-4.5.2/include/QtGui/
qpalette.h:47,
from /usr/local/Trolltech/Qt-4.5.2/lib/
QtGui.framework/Headers/qwidget.h:48,
from cfgtest_QtGui.cpp:1:
/usr/local/Trolltech/Qt-4.5.2/include/QtGui/qregion.h: In member
function ‘OpaqueRgnHandle* QRegion::handle(bool) const’:
/usr/local/Trolltech/Qt-4.5.2/include/QtGui/qregion.h:158: error:
‘toQDRgn’ was not declared in this scope
What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090901/38e16bad/attachment.html
More information about the PyQt
mailing list