text: 
  In order for this to work, you need to implement the "AppendFunction": of QDeclarativeListProperty. The example below shows how that can be done. It also implement "ClearFunction": so that it cleans up correctly.
  @
  #include <QtDeclarative>
  class MyObject : public QObject
  {(); } } QList<MyObject *> list;
  };
  @
  but this way you can only add items to the list in the qml file like this:
  @MyObject
  {
  ...
  getInfo :[
  MyObject {...},
  MyObject {...},
  MyObject {...}
  ]
  }@
  i wan't to know if there is any way to add items to this list in a loop, because i have a lot of items to append into the list.?
  - moldovan.catalin?
  As an alternative solution, this is what I do when a dynamic list is needed: Derive a new class from QAbstractListModel and expose it to QML, or somehow make use of ListModel.
  When only a static list is needed, QDeclarativeListProperty appears to be a very good choice.