Data Engine/QML/Python Guidance Needed

Aaron J. Seigo aseigo at kde.org
Mon Aug 15 14:15:35 UTC 2011


On Monday, August 15, 2011 09:37:29 Eric Mesa wrote:
> On Mon, Aug 15, 2011 at 5:34 AM, Aaron J. Seigo <aseigo at kde.org> wrote:
> > complex types from Python will not be able to be used from users of the> 
DataEngine. the data is being exported from the Python runtime, after
> > all. you'll need to simplify the returns, e.g. turn the XML into a
> > string and the> provide the list as a separate key/value pair.
> So I can't go Python->DataEngine->Python?

not in the way you mean it :)

the DataEngine may well be servicing something written in C++ or Javascript. 
there is no coupling.

> (where I embed my QML intoPython) If that's true, when I turn the XML to a
> string, it still retains its XML structure, right? 

correct.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110815/a14fa037/attachment.sig>


More information about the Plasma-devel mailing list