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' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -