How to Create C++ Objects Dynamically.
Hi, I'm a relative beginner with Qt Creator, and have some experience with C++ but I'm new to QML.
I've been going through the following Dynamic Scene Example:
I follow how the objects are created dynamically using QML. I want to know is it possible to create
similar objects dynamically using C++ funtions in Qt Creator, as I cant seem to find any examples
My goal is to extend QML using C++.
ie. C++ functions -> QML properties.
AcerExtensa last edited by
Is it that what you are searching for? "Using QML Bindings in C++ Applications":http://qt-project.org/doc/qt-4.8/qtbinding.html
Thanks for the reply.
I had spotted this tutorial also but unfortunately it does not create objects that can be open, closed, attached etc. it only creates static objects. I cant seem to find examples on qt-project.org so I was hoping to find some elsewhere.