<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I can't seem to compile PyQt on Snow Leopard.<div><br></div><div>I installed Snow Leopard with the xcode that came with the disk.</div><div><br></div><div>Built Qt 4.5.2: <span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px; ">./configure -opensource -framework -no-qt3support -fast </span></div><div><font class="Apple-style-span" face="Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px;">Built SIP 4.8.2</span></font></div><div><font class="Apple-style-span" face="Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px;">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: </span></font></div><div><font class="Apple-style-span" face="Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 13px;"><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;">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</span></font></div><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;">In file included from /usr/local/Trolltech/Qt-4.5.2/include/QtGui/qmatrix.h:46,</span></font></div><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"> from /usr/local/Trolltech/Qt-4.5.2/include/QtGui/qbrush.h:49,</span></font></div><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"> from /usr/local/Trolltech/Qt-4.5.2/include/QtGui/qpalette.h:47,</span></font></div><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"> from /usr/local/Trolltech/Qt-4.5.2/lib/QtGui.framework/Headers/qwidget.h:48,</span></font></div><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;"> from cfgtest_QtGui.cpp:1:</span></font></div><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;">/usr/local/Trolltech/Qt-4.5.2/include/QtGui/qregion.h: In member function ‘OpaqueRgnHandle* QRegion::handle(bool) const’:</span></font></div><div><font class="Apple-style-span" face="'Courier New'" size="4"><span class="Apple-style-span" style="font-size: 14px;">/usr/local/Trolltech/Qt-4.5.2/include/QtGui/qregion.h:158: error: ‘toQDRgn’ was not declared in this scope</span></font></div><div><font class="Apple-style-span" face="'Courier New', Arial, 'Bitstream Vera Sans', Helvetica, sans-serif"><br></font></div><div>What am I doing wrong?</div></span></span></font></div></body></html>