Just finished compiling the latest preview of Qt4.6 on Snow Leopard in 64 bit without any major issues.

<p style="margin-left: 40px;"><a href="http://qt.nokia.com/developer/qt-4.6-technology-preview#download-the-qt-4-1" rel="nofollow">http://qt.nokia.com/developer/qt-4.6-technology-preview#download-the-qt-4-1</a></p>

<p>Now, I am trying to do the same for PyQt4.6 with the latest snapshot. I got through the configuration step by installing the latest sip and using <br></p><p>&gt; python configure.py --use-arch x86_64</p><p>However, the build fails with the following error after compiling a few object files:</p>
<p style="margin-left: 40px;">g++ -c -pipe -fPIC -arch x86_64 -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/Users/drufat/Downloads/PyQt-mac-gpl-4.6-snapshot-20090914/qpy/QtCore -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/usr/local/Trolltech/Qt-4.6.0/mkspecs/default -I/usr/local/Trolltech/Qt-4.6.0/lib/QtCore.framework/Headers -I/usr/local/Trolltech/Qt-4.6.0/include -F/Users/drufat/Downloads/PyQt-mac-gpl-4.6-snapshot-20090914/qpy/QtCore -F/usr/local/Trolltech/Qt-4.6.0/lib -o sipQtCoreQResource.o sipQtCoreQResource.cpp<br>
/usr/local/Trolltech/Qt-4.6.0/lib/QtCore.framework/Headers/qscopedpointer.h: In copy constructor ‘QResource::QResource(const QResource&amp;)’:<br>/usr/local/Trolltech/Qt-4.6.0/lib/QtCore.framework/Headers/qscopedpointer.h:180: error: ‘QScopedPointer&lt;T, Cleanup&gt;::QScopedPointer(const QScopedPointer&lt;T, Cleanup&gt;&amp;) [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter&lt;QResourcePrivate&gt;]’ is private<br>
/usr/local/Trolltech/Qt-4.6.0/lib/QtCore.framework/Headers/qresource.h:59: error: within this context<br>sipQtCoreQResource.cpp: In constructor ‘sipQResource::sipQResource(const QResource&amp;)’:<br>sipQtCoreQResource.cpp:78: note: synthesized method ‘QResource::QResource(const QResource&amp;)’ first required here <br>
/usr/local/Trolltech/Qt-4.6.0/lib/QtCore.framework/Headers/qscopedpointer.h: In static member function ‘static void QScopedPointerDeleter&lt;T&gt;::cleanup(T*) [with T = QResourcePrivate]’:<br>(...)</p><p style="margin-left: 40px;">
<br></p><p>What does this error mean? Is PyQt4 trying to access a private variable, and if so why does it only manifest itself in 64 bits?</p><p>Has anybody been able to successfully build PyQt  for Snow Leopard against the latest preview of 4.6?</p>
<p>Thanks!<br></p>