forked from qt-creator/qt-creator
Add . to includePaths() for qt4project
QMake implicitly adds it, so we need to do the same. Change-Id: Ifa1733e79f8eaa8461906fe23f492fc6e83ad017 Done-by: dt Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -2013,6 +2013,8 @@ QStringList Qt4ProFileNode::includePaths(QtSupport::ProFileReader *reader) const
|
|||||||
// except if those directories don't exist at the time of parsing
|
// except if those directories don't exist at the time of parsing
|
||||||
// thus we add those directories manually (without checking for existence)
|
// thus we add those directories manually (without checking for existence)
|
||||||
paths << mocDirPath(reader) << uiDirPath(reader);
|
paths << mocDirPath(reader) << uiDirPath(reader);
|
||||||
|
// qmake always adds "."
|
||||||
|
paths << m_projectDir;
|
||||||
paths.removeDuplicates();
|
paths.removeDuplicates();
|
||||||
return paths;
|
return paths;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user