Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to print model info in qml console log?
Forum Updated to NodeBB v4.3 + New Features

How to print model info in qml console log?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 310 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nitheesh Hunsur
    wrote on last edited by
    #1

    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!!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved