forked from qt-creator/qt-creator
Add QMAKE_INCDIR to headers search paths
Change-Id: I482d16efc93d9786d4a66846f6991c168d612a63 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
0f026bd9d2
commit
f841f3743d
@@ -2148,6 +2148,7 @@ QStringList Qt4ProFileNode::includePaths(QtSupport::ProFileReader *reader) const
|
||||
}
|
||||
|
||||
paths.append(reader->absolutePathValues(QLatin1String("INCLUDEPATH"), m_projectDir));
|
||||
paths.append(reader->absolutePathValues(QLatin1String("QMAKE_INCDIR"), m_projectDir));
|
||||
// paths already contains moc dir and ui dir, due to corrrectly parsing uic.prf and moc.prf
|
||||
// except if those directories don't exist at the time of parsing
|
||||
// thus we add those directories manually (without checking for existence)
|
||||
|
Reference in New Issue
Block a user