In file included from sip/QtCore/qresource.sip:40: /usr/include/qt4/QtCore/qscopedpointer.h: In copy constructor ‘QResource::QResource(const QResource&)’: /usr/include/qt4/QtCore/qscopedpointer.h:180: error: ‘QScopedPointer<T, Cleanup>::QScopedPointer(const QScopedPointer<T, Cleanup>&) [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]’ is private /usr/include/qt4/QtCore/qresource.h:59: error: within this context sipQtCoreQResource.cpp: In constructor ‘sipQResource::sipQResource(const QResource&)’: sipQtCoreQResource.cpp:78: note: synthesized method ‘QResource::QResource(const QResource&)’ first required here In file included from /usr/include/qt4/QtCore/qobject.h:55, from /usr/include/qt4/QtCore/qiodevice.h:47, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:50, from /usr/include/qt4/QtCore/QMetaType:2, from sipAPIQtCore.h:41, from sipQtCoreQResource.cpp:35: /usr/include/qt4/QtCore/qscopedpointer.h: In static member function ‘static void QScopedPointerDeleter<T>::cleanup(T*) [with T = QResourcePrivate]’: /usr/include/qt4/QtCore/qscopedpointer.h:100: instantiated from ‘QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]’ /usr/include/qt4/QtCore/qresource.h:59: instantiated from here /usr/include/qt4/QtCore/qscopedpointer.h:59: error: invalid application of ‘sizeof’ to incomplete type ‘QResourcePrivate’ /usr/include/qt4/QtCore/qscopedpointer.h:59: error: creating array with negative size (‘-0x000000001’) /usr/include/qt4/QtCore/qscopedpointer.h:62: warning: possible problem detected in invocation of delete operator: /usr/include/qt4/QtCore/qscopedpointer.h:54: warning: ‘pointer’ has incomplete type /usr/include/qt4/QtCore/qresource.h:56: warning: forward declaration of ‘struct QResourcePrivate’ /usr/include/qt4/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. make[1]: *** [sipQtCoreQResource.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.6/work/PyQt-x11-gpl-4.6-2.6/QtCore' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. Emerge qt-4.6 2. Emerge PyQt4 (very latest) 3.
Does PyQt4-4.5.4-r4 work with qt-4.6 snapshots? In any case, would you mind reporting the failure upstream to "phil at riverbankcomputing.com"?
(In reply to comment #1) > Does PyQt4-4.5.4-r4 work with qt-4.6 snapshots? In any case, would you mind > reporting the failure upstream to "phil at riverbankcomputing.com"? > Qt v4.6 won't be supported until it is released. Phil The email I got from him.
(In reply to comment #2) Ok, I guess we'll wait for upstream support then.
Ok this bug will close as LATER since upstream is not willing to support Qt-4.6