[PyQt] [Help] PyQt building issue

David Boddie dboddie at trolltech.com
Fri Oct 9 14:30:12 BST 2009


On Fri Oct 9 08:01:22 BST 2009, Diego Casella ([Po]lentino) wrote:

> I'm in trouble with building PyQt ( 20091007 snapshot version ) with both
> SIP4.6 stable and the development version;
> this is what it shows:
>
> /default -I/opt/qt4/include/QtCore -I/opt/qt4/include -I/usr/X11R6/include
> -o sipQtCoreQResource.o sipQtCoreQResource.cpp
> In file included from sip/QtCore/qresource.sip:39:
> /opt/qt4/include/QtCore/qscopedpointer.h: In copy constructor
> 'QResource::QResource(const QResource&)':
> /opt/qt4/include/QtCore/qscopedpointer.h:180: error: 'QScopedPointer<T,
> Cleanup>::QScopedPointer(const QScopedPointer<T, Cleanup>&) [with T =
> QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]' is
> private
> /opt/qt4/include/QtCore/qresource.h:59: error: within this context

The QScopedPointer references indicate that you're building it against a
pre-release of Qt 4.6, which isn't supported. Try building against Qt 4.5.3
instead.

David


More information about the PyQt mailing list