Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to print model info in qml console log?



  • Hello All!

    I have a cpp model(Qt abstract list model), which is being viewed in qml. Note that the list is dynamic in nature. To view the contents in the real time, i would like to have console(in qml) or qDebug(in Qt). Please help in finding a way to print those model data in logger.
    Thanks in advance!!


Log in to reply