qml - TreeView is not syntax highlighted -
qt creator 5.5 doesn't syntax highlight treeview
both in windows , macos.
import qtquick 2.5 import qtquick.window 2.2 import qtquick.controls 1.4 applicationwindow { visible: true width: screen.width /2 height: screen.height/2 treeview { anchors.fill: parent } }
treeview
marked red underlined if not recognized qt creator compile , run fine. why not syntax highlighted properly?
i think it's bug, because required modules imported.
you can suppress warning using //@disable-check m300
before line treeview {
import qtquick 2.5 import qtquick.window 2.2 import qtquick.controls 1.4 applicationwindow { visible: true width: screen.width /2 height: screen.height/2 //@disable-check m300 treeview { anchors.fill: parent } }
Comments
Post a Comment