<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Trenton,<div><span class="Apple-tab-span" style="white-space:pre">                        </span>In the file qglobal.h, I found a definition called <span class="Apple-style-span" style="color: rgb(100, 56, 32); font-family: Monaco; font-size: 10px; ">QT_MAC_USE_COCOA.</span></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Upon closer investigation, I find that it is only enable in Qt-4.5.x if 64-bit support is turned on.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; color: rgb(100, 56, 32); ">#ifdef AUTODETECT_COCOA</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; color: rgb(100, 56, 32); "># ifdef Q_OS_MAC64</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; color: rgb(100, 56, 32); "># define QT_MAC_USE_COCOA <span style="color: rgb(28, 0, 207); ">1</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; color: rgb(100, 56, 32); "># endif</div></font></div><div><span class="Apple-style-span" style="color: rgb(100, 56, 32); font-family: Monaco; font-size: 10px; ">#endif</span><span class="Apple-tab-span" style="white-space:pre">                        </span><br></div><div><br></div><div>So, this means that Cocoa support in Qt-4.5.x is only enabled if I enable 64-bits. </div><div><br></div><div>Could you please clarify if indeed, Qt-4.5.x will work for Cocoa 32-bits?</div><div><br></div><div>Best regards,</div><div><br></div><div>Elvis Dowson</div><div><br></div><div><br><div><div>On Sep 26, 2008, at 8:49 PM, Trenton Schulz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Sep 26, 2008, at 17:48 , Elvis Dowson wrote:<br><br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"> I tried running<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">make clean<br></blockquote><blockquote type="cite">make distclean<br></blockquote><blockquote type="cite">and re-running the configure command, but I got the same error as before.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What should I do? If Cocoa bindings work only for 64-bits, shouldn't Qt-4.5.x automatically force and set it to 64-bits?<br></blockquote><br>No, Cocoa works for both 32-bit and 64-bit.<br><br>What I suggested was to remove the entire qt-mac-... directory and untar it from scratch. Then you have a clean setup.<br><br>-- Trenton<br><br></div></blockquote></div><br></div></body></html>