From: [email protected]
<[email protected]> on behalf of
mark diener <[email protected]>
Sent: Sunday, 23 August 2015 05:40
To: [email protected]
Subject: [Interest] Accessing QML Loader from C++
Hello List:
Does anybody have an idea on how to retrieve the QObject* from C++
with a QML Loader::item property?
[snip]
I'm not sure about the rest of your questions. Assuming I'm understanding this
one correctly, you can do it like this:
QObject *item = loader->property("item").value<QObject*>();
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest