TreeView unknown component (M300) - Qt5.5.1
Unsolved
QML and Qt Quick
-
I am Using treeview in qml, but the qtcreator says that it is an unknown component (m300)..i have import QtQuick.Controls 1.4
so what do I have to do reinstall the qt liberary? or is there another way to solve?
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Window 2.2
import QtQuick.Dialogs 1.2
import treeview.mymodels 1.0ApplicationWindow {
title: qsTr("Qt Quick: TreeView")
width: 640
height: 480
visible: trueTabView { width: parent.width height: parent.height MyTreeModel { id: theModel } TreeView { id:treeviewID anchors.fill: parent model: theModel headerVisible : false } }
}
the symbol treeview is marked as erroneous in Creator.