Still cannot access QMap in QML

Viranch Mehta viranch.mehta at gmail.com
Wed Jun 8 19:50:02 CEST 2011


Hi,

I am still unable to access QMap<QString,QString> returned by dataengine in
QML. The piece of JS goes like:

print("hello");
print(dataEngine.data["PowerDevil"]["Available profiles"]);
print("world");

And it prints only "hello", nothing else. I went through the code of JS
bindings in runtime, tried playing around with it without luck. I'm totally
clueless on this now.

Cheers,
Viranch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20110608/4ebc1dcd/attachment.htm 


More information about the Plasma-devel mailing list