[PyKDE] LPhoto

Jim Bublitz jbublitz at nwinternet.com
Tue Apr 27 18:43:01 BST 2004


On Tuesday April 27 2004 07:54, Joachim Werner wrote:
> Hi!

> Boudewijn Rempt schrieb:
> > I just noticed that LPhoto is written in Python with PyQt --
> > so I presume ditto for LSongs.

> Yes, there is a hint in the LPhoto code (kdeemul.py) that they
> are both using some shared code. But currently there is no
> link at Linspire's websites to download the LSongs sources.

> LPhoto is a very nice example for a PyQt application.

> BTW: I've just tried to replace the Qt file dialog in LPhoto
> by the KFileDialog. I am getting a memory access error after
> doing so. As anybody seen problems with KFileDialog on AMD 64
> hardware, too?

There is an error in the way PyKDE's kfile is linked to KDE 
(through PyKDE-3.11alpha6)  Basically, it isn't. It works 
because kfile imports kio and the kfile KDE code is actually in 
libkio.  I'm not sure if that would cause your problem or not.

The next release (hopefully sometime this week) will fix that, or 
I can tell you how to patch configure.py (2 or 3 lines of code).

Jim




More information about the PyQt mailing list