From: interest-bounces+mitch.curtis=theqtcompany....@qt-project.org 
<interest-bounces+mitch.curtis=theqtcompany....@qt-project.org> on behalf of 
mark diener <rpzrpz...@gmail.com>
Sent: Sunday, 23 August 2015 05:40
To: interest@qt-project.org
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
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to