forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user