Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I have qmlRegisterType<DataModel>("one.DataModel", 1, 0, "DataModel");
qmlRegisterType<DataModel>("one.DataModel", 1, 0, "DataModel");
and I instance this in QML DataModel { }
DataModel { }
I need to get pointer to the istantiated object in C++ side. BUT I do not want to use aproach with use of findChild(). How to get a pointer?
findChild()
http://www.qtcentre.org/threads/66403-How-to-get-Object-s-pointer-instantiated-in-QML-engine?p=291959#post291959