QT syntax problem and error in MSVS 2010?
-
I have two questions,
Why sometimes I have red underline under QT syntax? Sometimes help to click to <project> and <rescan solution> in menu. Strange is that the compilation works okay.
!http://chrn.wz.cz/underlined.jpg(syntax)!Another think is red point (as ‘no entrance’ sign) near to picture of file type. I don’t know what is this mean? If the point is on the picture (‘moc_gotocelldialog’) it mean ‘file doesn’t exist’ (in this case I don’t know why it appear here).
!http://chrn.wz.cz/red.jpg(red point)! -
The files are automatically generated files. That is indicated by the left "no entrance" sign. If there are two, it is indicated that this file is excluded from build. Nothing you should worry about. Just remember that, if you change those files, they might be written and your changes are lost.
The red underline indicates wrong syntax. As you noticed nothing is wrong with the syntax. Probably your PC is a little slow or your system is busy with other things when the red line is there but the syntax is ok.