[maemo-developers] Python bindings for Qt Mobility APIs now available

From: Matti Airas matti.p.airas at nokia.com
Date: Fri Aug 20 11:04:30 EEST 2010
On 19.08.2010 18:06, ext Edward Page wrote:

> Are there plans to support Contact Engine (and Calendar Engine when
> that comes out) plugins written in Python?  There are at least two
> contact engines and two calendar engines I am wanting to write (though
> this depends on how much of an issue it is for non-retrofitted apps to
> take advantage of additional engines which I need to eventually get
> around to talking to the Qt Mobility people about that)..

Having only now taken a look at the engine architecture, it appears that 
the engines are loaded as Qt plugins. In practice, you'd need to embed 
Python into the plugin and plumb the native calls to the Python 
implementation. Sounds possible in theory but definitely non-trivial and 
we don't have support for it yet, nor it is really planned.

Assuming that the plugins are executed in-process in the client 
programs, I wonder would it be possible to bypass the plugin loader code 
and add the engine implementation to QContactManager directly. That way, 
you'd be able to use an engine written in Python, although with Python 
programs only. Might be worth investigating.

Cheers,

ma.

More information about the maemo-developers mailing list