[Qt-qml] QML must love binding programmers

Hugo Parente Lima hugo.lima at openbossa.org
Fri Dec 3 17:16:44 CET 2010


On Thursday 02 December 2010 16:40:38 Adriano Rezende wrote:
> On Wed, Oct 27, 2010 at 1:02 PM, Hugo Parente Lima
> 
> <hugo.lima at openbossa.org> wrote:
> > If nobody does nothing about, PyQt, PySide, Jambi and Qt-Ruby (among
> > others) wont be able to fully support QML, the only way I found until
> > now to get this working is a bit ugly and add some limitation as the
> > number of types you can export to QML.
> 
> It's better to open a suggestion in the bugtracker
> (http://bugreports.qt.nokia.com), so this problem will be addressed to
> the right person.

I'll do it, but I need to elaborate a better proposition beforehand.

Btw I achieved the PySide-QML integration without the need for a patch :-), 
but there's still a limitation, you can register only a finite number of Python 
types into QML.

The implementation can be found at:

http://qt.gitorious.org/~hugopl/pyside/hugopl-pyside-
shiboken/commit/9c2fe41b3bdeff205aa5ebb4e21f2b0e50bd5da6

The limitation is due to the fact that QML doesn't inform what type it's 
creating when it calls the create function.

P.S.: There is a QML function which we need to call at QDeclarativeItem 
destruction that isn't being called yet, but it's easy to fix

> Br,
> Adriano

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101203/afebd10f/attachment.bin 


More information about the Qt-qml mailing list