Qt4Project: cpp code model add <configuration> and headers

This makes the data which we pass on to the codemodel similar again to
before 3aab8beaf4

Task-number: QTCREATORBUG-7198
Change-Id: I40a4812b27b69efd788abc85532efbdda1bef7d6
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Daniel Teske
2012-04-19 12:49:55 +02:00
parent 0457aac0c5
commit 2be819c89e
3 changed files with 7 additions and 0 deletions

View File

@@ -543,6 +543,8 @@ void Qt4Project::updateCppCodeModel()
part->flags = tc->compilerFlags(pro->variableValue(CppFlagsVar));
part->sourceFiles = pro->variableValue(CppSourceVar);
part->sourceFiles += pro->variableValue(CppHeaderVar);
part->sourceFiles.prepend(QLatin1String("<configuration>"));
pinfo.appendProjectPart(part);
allFiles += part->sourceFiles;