From pykde Sun Apr 25 14:13:10 2004 From: Torsten Marek Date: Sun, 25 Apr 2004 14:13:10 +0000 To: pykde Subject: Re: [PyKDE] Next Releases of SIP, PyQt, QScintilla Message-Id: <408BC776.1030901 () gmx ! net> X-MARC-Message: https://marc.info/?l=pykde&m=108290258817181 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------enig956540F8E1E4D282D8AD61B2" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig956540F8E1E4D282D8AD61B2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Phil Thompson schrieb: > While everybody is excited about the new release of PyKDE, I though it would > be worth outlining the immediate plans for the next releases of SIP, PyQt and > QScintilla. I want to make these releases sooner rather than later (ie. in a > couple of weeks rather than a couple of months). The intention is that there > will be non-snapshot versions of everything available that will support the > latest PyKDE. > > SIP v4 > Current snapshot: supports MinGW on Windows, should build latest PyKDE. > To do: confirm it builds the latest PyKDE. It does not yet. I was able to successfully build -dcop: no problems -kdecore: fixx11h.h stuff (might be Debian specific), but the abstract functions compile now (Thanks for the fast reaction, Phil!) -kdesu: no problems -kdefx: sipkdefxKImageEffects does not include sipqtQBrush.h and sipqtQRegion.h, which are both generated by sip4 -kdeui: can be build (although my g++ refuses to compile it in one piece - 10^5 lines are hard to swallow), but cannot be imported into Python. Error message was: Traceback (most recent call last): File "", line 1, in ? TypeError: Cannot create a consistent method resolution order (MRO) for bases qt.QPaintDevice, qt.Qt -kio: refuses to build at first, problems are in %VirtualCatcherCode in kfilterdev.sip (I already changed a1 to a0 for it to compile) sip/kio/kfilterdev.sip: In function `PyObject* sipVH_kio_45(PyGILState_STATE, PyObject*, long unsigned int)': sip/kio/kfilterdev.sip:109: error: invalid conversion from `long int' to ` PyObject*' sip/kio/kfilterdev.sip:117: error: invalid conversion from `long unsigned int' to `void*' sip/kio/kfilterdev.sip:118: error: invalid conversion from `int' to `PyObject*' I circumvented these by commenting out the lines, errors continue. Workarounds are: kio/kurifiltersip:83: sipThisObj -> sipSelf (is argument conversion superfluous in hand-written code?) sip-generated Code: meth_KURIFilterData_init: add (KURL*) to const KURL * a0 = &QString::null; Finally, there is a call to a wrong sipVH function. In "long sipKFilterDev::readLine(char * a0,unsigned long a1)", "long sipVH_kio_45(sip_gilstate_t,PyObject *,unsigned long)", and they parameter lists do not match. I do not know how to handle this, thus I pass the torch to Phil. If somebody wants to have binaries of the modules are generated code, I can put them on the web (kdeui.so is 10MiB with symbols stripped, so you might not want to have it emailed;-). greetings Torsten -- Torsten Marek ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 www.keyserver.net -- wwwkeys.eu.pgp.net --------------enig956540F8E1E4D282D8AD61B2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAi8d/fMVFHqJEyFgRApSlAJ4iOqe5fALujq7dnOl66uH1Av8M6QCgxnTe w9eUyuUilcVE0xH6LbDG5+0= =oIHz -----END PGP SIGNATURE----- --------------enig956540F8E1E4D282D8AD61B2-- _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde