Re: [PythonCE] Qt-wince

2007-10-22 Thread Frédéric Mantegazza

Le 22/10/2007, "Alexandre Delattre"
<[EMAIL PROTECTED]> a écrit:

> I do not want to discourage anyone willing to port PyQt, but please
> consider these two points:
>
>  - Wrap only the minimal gui classes to reduce code size
>  - Produce only one dll for the wrappers, and better, link statically the 
> wrappers with the 
>Qt library

Ok, I see. Not an easy task :o/

--
   Frédéric
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] Qt-wince

2007-10-22 Thread Alexandre Delattre
Hi,

A PyQt port should be feasible, but I'm afraid we'll end up with the 
same problems as wxpython port regarding high memory usage:
Wince kernel has a very tight virtual address space in which dll are 
adressed (about 32MB), this means passed a certain point, dll could not 
be loaded.
Also the address of the dll must be aligned on a 32k boundary (I'm 
unsure if it's the exact value), meaning it's better to have one big dll 
than many little for the same code size.

Basically, SIP and SWIG wrappers are a lot of dlls themselves.
I do not want to discourage anyone willing to port PyQt, but please 
consider these two points:

 - Wrap only the minimal gui classes to reduce code size
 - Produce only one dll for the wrappers, and better, link statically 
the wrappers with the Qt library

Regards,
Alexandre
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] Qt-wince

2007-10-22 Thread Frédéric Mantegazza

I saw that Trolltech is releasing a WinCE version of Qt (there is a
preview available on their web site).

Do you know if a PyQt port could be considered on such plateform? Does
anyone here already have looked this way?

--
   Frédéric
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce