On 15-Oct-02 Marc Schmitt wrote: > On Dienstag, 15. Oktober 2002 18:57, Jim Bublitz wrote: >> Setting a link seems like it *should* work - a quick and dirty >> [...] >> The other places you'd (probably) need to make changes are: >> >> 1. build.py - add 304 to KDEVers list (global, near top of file) >> 2. PyKDE-3.3.2/sip/kde30/dcop.sip - add KDE_3_0_4 to %Timeline >> statement > > Ok, I modified the points and it passes the initial setup, but > when it tries > to compile khtml, the following happens : > > > make[1]: Entering directory > `/usr/src/packages/BUILD/PyKDE-3.3.2/khtml' > g++ -c -pipe -w -O2 -march=i586 -mcpu=i686 -fmessage-length=0 > -DNO_DEBUG > -D_REENTRAN T -fPIC > -DSIP_MAKE_MODULE_DLL > -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions -I- > I -I../extraH -I. -I../../../../../include/python2.2 > -I/opt/kde3/include -I-I > -I/opt /kde3/include/khtml -I-I > -I/opt/kde3/include/dom -I-I -I/opt/kde3/include/kparts -I- > I -I/opt/kde3/include/kio -I-I -I../kdecore -I-I -I../kio > -I/usr/lib/qt3/include -I/ > usr/lib/qt3/mkspecs/default -o khtmlhuge.o khtmlhuge.cpp > sip/khtml_part.sip: In function `PyObject* > sipDo_KHTMLPart_paint(PyObject*, > PyObject *)': > sip/khtml_part.sip:128: cannot pass objects of non-POD type > `class QRect' > through `. ..' > make[1]: *** [khtmlhuge.o] Error 1 > make[1]: Leaving directory > `/usr/src/packages/BUILD/PyKDE-3.3.2/khtml' > make: *** [sub-khtml] Error 2 > Bad exit status from /var/tmp/rpm-tmp.2774 (%build) > > > Any hints ?
I don't know if this is causing the problem, but in khtmlview.sip, line 87 is: if (sipParseArgs(&sipArgsParsed, sipArgs, "mJ0J0ii", sipThisObj,sipClass_ KHTMLView,&ptr, sipClass_QPainter, p, sipClass_QRect, r, i)) The string "mJ0J0ii" should be "mJ0J0i". I'm not sure why this error wasn't caught before. It should cause a runtime error at the very least. If that doesn't fix it (and I don't see why it would), you can try commenting out (//) the paint method and everything between and including %MemberCode -- %End after paint in the same file and see what happens. I don't know what a 'non-POD type' is, so the error msg isn't very helpful at the moment. Generally, you couldn't have gone that far unless almost everything else was working - this is one of the last few modules in the build. It could also be due to a change in KDE 3.0.4 (I don't have the source to check yet), in which case commenting out the paint method should take care of it temporarily. Sorry I can't be of more help. Don't spend a lot more time on it if you can't work around it easily - I should have the update available by the end of the week or early next week. Jim _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde
