Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.1.0
-
a7f4e5fab5f46ec392345770c017de2106f9615a
Description
ListModel does not show ListElement in the QML Observer.
Debug attached example. In the QML Observer, select contactModel under listRectangle. The count shows 4 but the elements are not listed.
While this bug is fixed in Creator 2.2 the example highlights another problem located in the text editor. The attached example uses a name already used by a QML element. A javascript file ListView.js is imported in the namespace LIstView.
With this setup the text editor highlights the used ListView QML element as troublesome.
Can we make a distinction between namespace and QML elements or could we through a warning maybe even on a file name basis, because a ListView.qml components might rase similar problems.