On Thursday 02 December 2010 16:40:38 Adriano Rezende wrote:
> On Wed, Oct 27, 2010 at 1:02 PM, Hugo Parente Lima
> 
> <hugo.l...@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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to