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:
Leandro Melo
2011-11-29 16:47:57 +01:00
parent 844b1c0490
commit a985759757

View File

@@ -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;
} }