Hi,<br>I&#39;m in trouble with building PyQt ( 20091007 snapshot version ) with both SIP4.6 stable and the development version;<br>this is what it shows:<br><br>/default -I/opt/qt4/include/QtCore -I/opt/qt4/include -I/usr/X11R6/include -o sipQtCoreQResource.o sipQtCoreQResource.cpp<br>
In file included from sip/QtCore/qresource.sip:39:<br>/opt/qt4/include/QtCore/qscopedpointer.h: In copy constructor &#39;QResource::QResource(const QResource&amp;)&#39;:<br>/opt/qt4/include/QtCore/qscopedpointer.h:180: error: &#39;QScopedPointer&lt;T, Cleanup&gt;::QScopedPointer(const QScopedPointer&lt;T, Cleanup&gt;&amp;) [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter&lt;QResourcePrivate&gt;]&#39; is private<br>
/opt/qt4/include/QtCore/qresource.h:59: error: within this context<br>sipQtCoreQResource.cpp: In constructor &#39;sipQResource::sipQResource(const QResource&amp;)&#39;:<br>sipQtCoreQResource.cpp:78: note: synthesized method &#39;QResource::QResource(const QResource&amp;)&#39; first required here<br>
In file included from /opt/qt4/include/QtCore/qdatastream.h:45,<br>                 from /opt/qt4/include/QtCore/qmetatype.h:49,<br>                 from /opt/qt4/include/QtCore/QMetaType:1,<br>                 from sipAPIQtCore.h:40,<br>
                 from sipQtCoreQResource.cpp:34:<br>/opt/qt4/include/QtCore/qscopedpointer.h: In static member function &#39;static void QScopedPointerDeleter&lt;T&gt;::cleanup(T*) [with T = QResourcePrivate]&#39;:<br>/opt/qt4/include/QtCore/qscopedpointer.h:100:   instantiated from &#39;QScopedPointer&lt;T, Cleanup&gt;::~QScopedPointer() [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter&lt;QResourcePrivate&gt;]&#39;<br>
/opt/qt4/include/QtCore/qresource.h:59:   instantiated from here<br>/opt/qt4/include/QtCore/qscopedpointer.h:59: error: invalid application of &#39;sizeof&#39; to incomplete type &#39;QResourcePrivate&#39;<br>/opt/qt4/include/QtCore/qscopedpointer.h:59: error: creating array with negative size (&#39;-0x00000000000000001&#39;)<br>
/opt/qt4/include/QtCore/qscopedpointer.h:62: warning: possible problem detected in invocation of delete operator:<br>/opt/qt4/include/QtCore/qscopedpointer.h:54: warning: &#39;pointer&#39; has incomplete type<br>/opt/qt4/include/QtCore/qresource.h:56: warning: forward declaration of &#39;struct QResourcePrivate&#39;<br>
/opt/qt4/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 `/home/polentino/svn-kde/PyQt-x11-gpl-4.6.1-snapshot-20091007/QtCore&#39;<br>make: *** [all] Error 2<br><br><br><br>Any ideas?<br>Cheers,<br><br>Diego.<br>