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

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -