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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

java - Log4j2 configuration not found when running standalone application builded by shade plugin -

python - How do I create a list index that loops through integers in another list -