Now it's compiled, but I see that drawItems still receives the numItems argument. Isn't this redundant considering that this is only the length of the items list? Or is there a point in keeping it around to resemble the C++ interface?
<br><br>Arve<br><br><div><span class="gmail_quote">On 2/25/07, <b class="gmail_sendername">Arve Knudsen</b> &lt;<a href="mailto:arve.knudsen@gmail.com">arve.knudsen@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Thanks, I didn&#39;t realize the dependency on SIP was as tight.<br><span class="sg"><br>Arve</span><div><span class="e" id="q_110f90622fccd7c0_2"><br><br><div><span class="gmail_quote">On 2/25/07, <b class="gmail_sendername">
Phil Thompson</b> &lt;<a href="mailto:phil@riverbankcomputing.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> phil@riverbankcomputing.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
 On Sunday 25 February 2007 11:56 am, Arve Knudsen wrote:<br>&gt; The snapshot does not compile for me (on a Gentoo Linux box, g++ 4.1.2):<br>&gt;<br>&gt; g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB 
<br>&gt; -DQT_CORE_LIB -I. -I/usr/include/python2.4 -I/usr/mkspecs/linux-g++<br>&gt; -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4<br>&gt; -I/usr/X11R6/include -o sipQtGuiQGraphicsView.o sipQtGuiQGraphicsView.cpp
 <br>&gt; sip/QtGui/qgraphicsview.sip: In function &#39;PyObject*<br>&gt; meth_QGraphicsView_drawItems(PyObject*, PyObject*)&#39;:<br>&gt; sip/QtGui/qgraphicsview.sip:174: error: &#39;sipClass_QStyleOptionGraphicsItem&#39; 
<br>&gt; was not declared in this scope<br><br>If you are using a PyQt snapshot always use the latest SIP snapshot.<br><br>Phil<br><br>_______________________________________________<br>PyKDE mailing list&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:PyKDE@mats.imk.fraunhofer.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
 PyKDE@mats.imk.fraunhofer.de</a><br><a href="http://mats.imk.fraunhofer.de/mailman/listinfo/pykde" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
</a><br></blockquote></div><br></span></div></blockquote></div><br>