CppTools: Fix build

Amends 97828a96af and ef8de6a384.

Change-Id: I9dd7d6a093657ea6f20ff3b5a4d0c968f8293ad7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Kandeler
2018-12-21 08:59:26 +01:00
parent a0a97c2edc
commit e250543cc7
2 changed files with 3 additions and 1 deletions

View File

@@ -576,7 +576,7 @@ void CompilerOptionsBuilder::addWrappedQtHeadersIncludePath(QStringList &list) c
QString CompilerOptionsBuilder::includeDirOptionForSystemPath(ProjectExplorer::HeaderPathType type) const QString CompilerOptionsBuilder::includeDirOptionForSystemPath(ProjectExplorer::HeaderPathType type) const
{ {
if (type == ProjectExplorer::HeaderPathType::Framework) if (type == ProjectExplorer::HeaderPathType::Framework)
return "-F"; return QString("-F");
if (m_useSystemHeader == UseSystemHeader::Yes) if (m_useSystemHeader == UseSystemHeader::Yes)
return includeSystemPathOption; return includeSystemPathOption;

View File

@@ -188,6 +188,8 @@ Project {
"functionutils.h", "functionutils.h",
"generatedcodemodelsupport.cpp", "generatedcodemodelsupport.cpp",
"generatedcodemodelsupport.h", "generatedcodemodelsupport.h",
"headerpathfilter.cpp",
"headerpathfilter.h",
"includeutils.cpp", "includeutils.cpp",
"includeutils.h", "includeutils.h",
"indexitem.cpp", "indexitem.cpp",