[SOLVED]ObjectModel unknown component (M300)
-
so I just got started to program in qtquick and I'm following the getting started guide.
http://qt-project.org/doc/qt-5.1/qtdoc/gettingstartedqml.htmlbut at the Using Data Models and Views part of the guide, we have to use the ObjectModel but the qtcreator says that it is an unknown component (m300).
so what do I have to do reinstall the qt liberary? or is there another way to solve it. i have imported the QtQuick 2.0 lib so that can not be the problem.
-
I had imported the qtquick 2.0
but i tried to use the VisualItemModel of the 4.8 getting started and it worked.
the VisualItemModel is also used in the 5.0 maybe the getting started 5.1 needs to be edited or another qtquick (2.1 instead of 2.0) must be imported.