Important: Please read the Qt Code of Conduct -


  • Hi,

    I have to manage many qml listviews (create list, edit properties, ...) and I would like to do it in C++, so I want to store a C++ pointer upon qml listview but there is no "QDeclarativeListView" available in C++.
    Is there a way to handle this or must I manage qml elements in the qml only ?


  • You can retreive the QObject pointers if you need by setting objectName on the views, and querying the context for those names. You can interact with the properties and signals & slots through that interface. Not ideal, but it may be enough for you.

Log in to reply