Hi,<br>I'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 'QResource::QResource(const QResource&)':<br>/opt/qt4/include/QtCore/qscopedpointer.h:180: error: 'QScopedPointer<T, Cleanup>::QScopedPointer(const QScopedPointer<T, Cleanup>&) [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]' is private<br>
/opt/qt4/include/QtCore/qresource.h:59: error: within this context<br>sipQtCoreQResource.cpp: In constructor 'sipQResource::sipQResource(const QResource&)':<br>sipQtCoreQResource.cpp:78: note: synthesized method 'QResource::QResource(const QResource&)' 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 'static void QScopedPointerDeleter<T>::cleanup(T*) [with T = QResourcePrivate]':<br>/opt/qt4/include/QtCore/qscopedpointer.h:100: instantiated from 'QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]'<br>
/opt/qt4/include/QtCore/qresource.h:59: instantiated from here<br>/opt/qt4/include/QtCore/qscopedpointer.h:59: error: invalid application of 'sizeof' to incomplete type 'QResourcePrivate'<br>/opt/qt4/include/QtCore/qscopedpointer.h:59: error: creating array with negative size ('-0x00000000000000001')<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: 'pointer' has incomplete type<br>/opt/qt4/include/QtCore/qresource.h:56: warning: forward declaration of 'struct QResourcePrivate'<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'<br>make: *** [all] Error 2<br><br><br><br>Any ideas?<br>Cheers,<br><br>Diego.<br>