<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">One last thing, after building successfully, I would receive the following error when trying to use PyQt:<div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; border-collapse: collapse; font-size: 11px; white-space: pre; ">/Library/Python/2.6/site-packages/PyQt4/QtCore.so: mach-o, but wrong architecture</span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;">I'd read that this had to do with Python defaulting to running in 64-bit mode, so I tried building sip/PyQt with the flags:</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;">sip-4.9&gt; python ./configure --arch=i386 --arch=x86_64</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;">PyQt-4.6&gt; python ./configure --use-arch=i386 --arch=x86_64</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;">... this built without issues and works fine with all the examples from the PyQt book, for example.</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;">Thanks again,</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;">- Brian</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 11px; white-space: pre;"><br></span></font><div><div>On Sep 30, 2009, at 3:36 PM, Brian Brown wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 30, 2009, at 2:43 PM, Phil Thompson wrote:</div><blockquote type="cite"><div><font class="Apple-style-span"><br></font></div><div><font class="Apple-style-span"><br></font>For all stable releases of Qt.<br></div></blockquote></div><br><div>Ok, thanks Phil. I was able to install the stable Qt 4.5.2 on Snow Leopard by installing the packages individually and not installing examples, which is what is breaking their installer on 10.6. Then sip and PyQt installed as expected with the arch flags.&nbsp;</div><div><br></div><div>Cheers,</div><div><br></div><div>- Brian</div><div><br></div></div>_______________________________________________<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>