[PyKDE] QtCore.Qt and QtGui.Qt

Giovanni Bajo rasky at develer.com
Thu Mar 2 16:36:06 GMT 2006


Sundance <sundance at ierne.eu.org> wrote:

>> I like it - except I would use "Qt" rather than "qt". In fact I
>> really, really like it.
>
> Ditto!
>
> Giovanni, say: would that also remove the drawback from your awesome
> static PyQt module project? I looked into the issue of distributing
> easy-to-install binaries for Windows, and couldn't get around the
> problem of PyQt's size. So I'm really enthusiastic about your project.

As far as I can tell, yes. It would mean that if you always use "PyQt4.Qt"
instead of naming the single modules, your code will be compatible in both
the normal (shared) mode and the static mode.

> Do you intend to distribute pre-made PYDs, by the way?

There are many combinations of course, but I believe we could make a
pre-built package for the QtCore+QtGui combo, and one with all the modules
compiled in. My opinion is that it would be convenient for the static mode
to make it into the official configure.py, and also be the default mode for
the official binary Qt4-PyQt4-Win-GPL package. It would mean a smaller
download for the developer, and smaller executables for those building
stand-alone apps.
-- 
Giovanni Bajo




More information about the PyQt mailing list