[PyKDE] PyQT : Zaurus building &licenses

Phil Thompson phil at river-bank.demon.co.uk
Sat Oct 5 17:06:01 BST 2002


On Saturday 05 October 2002 2:05 pm, David Douard wrote:
> Hi list, hi Phil
>
> I am quite disappointed with the new licenses. If I understand things, the
> Zaurus version is no GPL'ed anymore, is it ?

Yes it is. Because Qt/E is an integral part of the Zaurus you can link GPL 
code against it. You can't link GPL code against the ordinary commercial 
edition of Qt because it isn't an integral part of the system - that's a 
condition of the GPL.

> Cause my problem is : I would like to provide a little GPL soft I have
> written for the Zaurus with PyQt. But the fact is I would like to provide
> it, among others, as a simple ipk file, which then should contain a
> standalone exec file. I would like the  standard user not to have to
> install the full python and pyqt packages.

It's dangerous to make assumptions about what a user may or may not already 
have installed.

> More, I need some extensions to
> PyQt I have written for Qtpe (namely, support for documents in Zaurus,
> AppLnk DocLnk, etc.). Note that I have sent a patch a month ago with thoses
> enhancements, but I had no answer for you, Phil, nor it has been included
> in PyQT.

The patch is still in my in-tray.

> And I would like to be able to compile only the Qt Classes I do use in my
> soft in order to minimize code size.

You need to look inside build.py and change how the features file is 
generated, or temporarily hack qglobal.h to pretend that fewer classes are 
implemented.

> But it seems I cannot compile PyQt for the Zaurus, since, at least, the
> file qwindowdefs for the Zaurus (QtEmb) is not available.

That's a bug in my internal build system which should be fixed in tonight's 
snapshot.

> Anyone has ever developped an application for the Zaurus with PyQt ? And
> provided it as a standalone package ?
> My idea is to use Gordon McMillan's Installer to generate a standalone
> executable. Everything works fine on my Linux laptop (I can generate a ipk
> package for qvfb)... But to do the same for the zaurus is somewhat more
> complicated.
>
> If I succeed, one day, in this quest, I'll provide some kind of "howto" :
> there are so many undocumented things I had to discover... (for exmaple :
> how to show te little "ok" button in the toolbar) etc.

As you may have guessed, support for the Zaurus (and Qt/Embedded generally) is 
a long way down my list of priorities. This is simply because I get no 
benefit at all from supporting it.

Phil




More information about the PyQt mailing list