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.
<snip/>
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 "<stdin>", 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 <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 www.keyserver.net -- wwwkeys.eu.pgp.net
signature.asc
Description: OpenPGP digital signature
