[PyKDE] Segfault in QGraphicsScene.drawItems

Phil Thompson phil at riverbankcomputing.co.uk
Sun Feb 25 12:03:24 GMT 2007


On Sunday 25 February 2007 11:56 am, Arve Knudsen wrote:
> The snapshot does not compile for me (on a Gentoo Linux box, g++ 4.1.2):
>
> g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
> -DQT_CORE_LIB -I. -I/usr/include/python2.4 -I/usr/mkspecs/linux-g++
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4
> -I/usr/X11R6/include -o sipQtGuiQGraphicsView.o sipQtGuiQGraphicsView.cpp
> sip/QtGui/qgraphicsview.sip: In function 'PyObject*
> meth_QGraphicsView_drawItems(PyObject*, PyObject*)':
> sip/QtGui/qgraphicsview.sip:174: error: 'sipClass_QStyleOptionGraphicsItem'
> was not declared in this scope

If you are using a PyQt snapshot always use the latest SIP snapshot.

Phil




More information about the PyQt mailing list