Commit a9857597 authored by Leandro Melo's avatar Leandro Melo
Browse files

Add . to includePaths() for qt4project



QMake implicitly adds it, so we need to do the same.

Change-Id: Ifa1733e79f8eaa8461906fe23f492fc6e83ad017
Done-by: dt
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent 844b1c04
......@@ -2013,6 +2013,8 @@ QStringList Qt4ProFileNode::includePaths(QtSupport::ProFileReader *reader) const
// except if those directories don't exist at the time of parsing
// thus we add those directories manually (without checking for existence)
paths << mocDirPath(reader) << uiDirPath(reader);
// qmake always adds "."
paths << m_projectDir;
paths.removeDuplicates();
return paths;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment