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. Using QList in QML
QtWS25 Last Chance

Using QList in QML

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 801 Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi all,

    How can i use the QList items in QML.
    Please help.
    Ansif

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vincent007
      wrote on last edited by
      #2

      use "QQmlListProperty":http://qt-project.org/doc/qt-5/qqmllistproperty.html instead of QList.
      Or use Qt C++ model to contain your QList items.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        [quote author="Vincent007" date="1394117348"]use "QQmlListProperty":http://qt-project.org/doc/qt-5/qqmllistproperty.html instead of QList.
        Or use Qt C++ model to contain your QList items.[/quote]

        Thank you.

        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