[Interest] Problem using Json in Qt5

Dimitris Sarlis sarlis.dim at gmail.com
Mon Aug 26 13:29:16 CEST 2013


I want to use json in my application but I have some problems. After a lot
of googling, I ended up using this
code http://pastie.org/8270674 in my main.cpp. As I get it, this should
register an instance of an object named
"doc" which I can then use in my .qml file. But when I try to access it (eg
print(doc)) it says it is undefined. Any

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130826/12ca84d0/attachment.html>

More information about the Interest mailing list