[PyKDE] PyKDE Release (almost)

Jim Bublitz jbublitz at nwinternet.com
Thu Aug 8 11:06:00 BST 2002


The next PyKDE release (covering KDE 3.01 and 3.0.2) should be
available for download by the weekend. Basically I need to check
it over, put the tarballs together and send them to Phil, which I
should get done tomorrow.

The only major changes (other than bug fixes and upgrading through
KDE 3.0.2) is in the build system - it now uses the same system as
PyQt. Rather than run ./configure, you need to run:

   KDE2: python build.py -l qt -c

   KDE3: python build.py -l qt-mt -c

and then 'make' and 'make install' as root.

The explicit -l switch is required at the moment. The -c switch is
optional - including it reduces the compile time by about 80%, but
requires a fair amount of available memory when compiling (this is
the cpp file concatenation trick). This should be the same command
line you used to build PyQt.

There is one problem with PyKDE on KDE3 that's had me hung up the
last few days: the pyParts.py example using KView as a part. I've
been getting truely bizarre behavior and initially it looked like a
PyKDE problem (segfaulting). Finally I got it somewhat stable, but
the functions (scaling/rotating/resetting) still didn't work.
Trying the same thing in konqueror (using the embedded KView)
yields the same results and hangs konqueror, so it's fairly safe to
assume the problem is with KView. The KHTML/KParts example works
perfectly and uses mostly the same code (but a different KPart).

Jim




More information about the PyQt mailing list