I&#39;m trying to compile the latest snapshot of PyQt and got the compile error below.<br><br>I&#39;m pulling Qt from the git repo, so I tried the 4.6 stable branch as well as a previous PyQt snapshot (from 8/21).  4.6 stable is dated 8/30.  I think all combinations were tried but the failure is in the ScopedPointer stuff which is pretty new IIRC.<br>
<br>It would be useful to know if PyQt is being tested against the Qt git repo and, if so, what checkin.  Qt is a moving target so I realize there&#39;s trickiness.  In the past, I&#39;ve found that in a few days time either Qt or PyQt has found and fixed bugs like this.<br>
<br>thanks,<br><br>-glenn<br><br>g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/mnt/hdb/sage/sage-4.1.1/tarbox/qt/PyQt/qpy/QtCore -I/mnt/hdb/sage/sage-4.1.1/local/include/python2.6 -I/mnt/hdb/sage/sage-4.1.1/local/mkspecs/default -I/mnt/hdb/sage/<br>
age-4.1.1/local/include/QtCore -I/mnt/hdb/sage/sage-4.1.1/local/include -I/usr/X11R6/include -o sipQtCoreQSemaphore.o sipQtCoreQSemaphore.cpp<br>g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/mnt/hdb/sage/sage-4.1.1/tarbox/qt/PyQt/qpy/QtCore -I/mnt/hdb/sage/sage-4.1.1/local/include/python2.6 -I/mnt/hdb/sage/sage-4.1.1/local/mkspecs/default -I/mnt/hdb/sage/<br>
age-4.1.1/local/include/QtCore -I/mnt/hdb/sage/sage-4.1.1/local/include -I/usr/X11R6/include -o sipQtCoreQRunnable.o sipQtCoreQRunnable.cpp<br>g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/mnt/hdb/sage/sage-4.1.1/tarbox/qt/PyQt/qpy/QtCore -I/mnt/hdb/sage/sage-4.1.1/local/include/python2.6 -I/mnt/hdb/sage/sage-4.1.1/local/mkspecs/default -I/mnt/hdb/sage/<br>
age-4.1.1/local/include/QtCore -I/mnt/hdb/sage/sage-4.1.1/local/include -I/usr/X11R6/include -o sipQtCoreQResource.o sipQtCoreQResource.cpp<br>/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qscopedpointer.h: In copy constructor ‘QResource::QResource(const QResource&amp;)’:<br>
/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/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>
/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/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>
/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qscopedpointer.h: In static member function ‘static void QScopedPointerDeleter&lt;T&gt;::cleanup(T*) [with T = QResourcePrivate]’:<br>/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qscopedpointer.h:100:   instantiated from ‘QScopedPointer&lt;T, Cleanup&gt;::~QScopedPointer() [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter&lt;QResourcePrivate&gt;]’<br>
/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qresource.h:59:   instantiated from here<br>/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qscopedpointer.h:59: error: invalid application of ‘sizeof’ to incomplete type ‘QResourcePrivate’ <br>
/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qscopedpointer.h:59: error: creating array with negative size (‘-0x00000000000000001’)<br>/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qscopedpointer.h:62: warning: possible problem detected in invocation of delete operator:<br>
/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qscopedpointer.h:54: warning: ‘pointer’ has incomplete type<br>/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qresource.h:56: warning: forward declaration of ‘struct QResourcePrivate’<br>
/mnt/hdb/sage/sage-4.1.1/local/include/QtCore/qscopedpointer.h:62: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.<br>make[1]: *** [sipQtCoreQResource.o] Error 1<br>
make[1]: Leaving directory `/mnt/hdb/sage/sage-4.1.1/tarbox/qt/PyQt/QtCore&#39;<br>make: *** [all] Error 2<br>-- <br>Glenn H. Tarbox, PhD ||  206-274-6919<br><a href="http://www.tarbox.org">http://www.tarbox.org</a><br>