Hi.
I was researching a way to implement the UI of my Qt C++ app with QML/QtQuick. I am a total newbie to it, and didn't find a obvious way from any tutorial, so I am asking here:
Is it possible to dynamically create list items from C++?
What I need is a list view with changing number of list items. I have the code ready to put something on (and off) the list, but then I hit a wall when researching how to actually do it with a view made with QML.
I have seen that it is possible to add items to a QML view dynamically using javascript, but then again I have no idea how to communicate with it from my C++ code.
Any help would be appreciated.
regards,
Heikki Siltala
Bookmarks