Rex Lam
02/16/2011 5:08 PM
post83250
|
I found a problem with the indexer in 4.7.2. It is related to the formatting of the contents of the .cproject file. If
I allow the IDE to modify project settings, the .cproject file is updated with tabs, and the indexer then works.
Please take a look at the attached files. The _broken file is the original file that works in 4.7.1 but fails in 4.7.2.
By fail, I mean the indexer does not resolve symbols that are not in the immediate project directory. I looked at the
difference between the two files (_broken and _fixed) and saw a few differences. At first, I thought it was the
missing 'indexing="true"' that caused the problem, but after editing the file manually to add that, the problem was
still there. I also tried removing 'standalone="no"', but that did not help. And I also switched the order between
qnxBuilder and QDEBinaryParser but that did not fix the indexer. It only worked after I added tabs to the .cproject
file. I tried adding tabs just to the lines that reference "pathentry include" but that wasn't enough. I had to add it
to the entire file.
This problem was observed in more than one project, so I was able to run tests to determine what fixes the problem, and
what doesn't. My question is, why are tabs necessary in the .cproject file before the indexer will work correctly?
This was not a problem in 4.7.1.
Rex
|
|
|