I don't think there are any implementations of a python declarative engine. 
Even 
so, it would only be wrapped. PyQt won't do it  until 4.7 is released, but it 
should appear in the snapshots days after.

With the models and source, what does the back-end implementation matter? it 
should me XML/images/video.etc/ served by a webserver.






----- Original Message ----
From: Robert Garrett <rob.garr...@blacktrace.com>
To: Qt-qml@trolltech.com
Sent: Tue, September 14, 2010 12:40:13 PM
Subject: [Qt-qml] Python and QML

Hi all,
I'm not sure if this is the correct place for my query, but if not
hopefully someone could point me to the right place.

I'm building an embedded application using QML for the front-end and
python for the back-end.  I'm not sure how to join these bits
together, though.

Can anyone give me some examples/demonstration code for hooking this
into Python?  I've seen the PySide project, which looks to do what I
need, but I'm new to Qt and the docs at PySide don't have much
information on the QtDeclarative side of things.

At the moment something very simple would be helpful - a python script
that creates the window using a qml file and then some python code to
update a text box in the interface.  And a button in the interface
that causes a function in the python code to be run.  I'm sure this
should be a simple signal/slot thing, but I've struggled to get the
syntax working.  From there I should be able to figure most of what I
need.

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



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

Reply via email to