Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2009

    How to use QAbstractListModel in pathview element of qml

    here,i want to use QAbstractListModel of c++/qt instead of ListModel of qml given in pathview.But i am unable to do.getting error like --unable to assign QObject* to QDeclarativeListModel*.


  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Ahmedabad, Gujarat, India

    Re: How to use QAbstractListModel in pathview element of qml

    hello sk.panda

    can you show how you are making your QDeclarativeListModel, there is a very basic example in Qt Quick Docs on how you can use the QAbstractItemModel's with QML i will advice you to check that first.

Similar Threads

  1. How to use QFileDialog or another way for file browsing in QML UI ?
    By magpielover in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-05-12, 08:04
  2. How to limit the max length of QML TextEdit element ?
    By cadlg in forum [Archived] Qt Quick
    Replies: 4
    Last Post: 2011-03-30, 16:43
  3. Replies: 0
    Last Post: 2010-07-09, 10:02
  4. Replies: 12
    Last Post: 2007-11-02, 10:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts