qdoc: Now checks for existance of each exclude dir
If the dir exists, it is added to the list of exclude dirs. If it does not exist, it is ignored. If it does not exist, qdoc assumes there is nothing to exclude there and does not report an error. Task-number: QTBUG-29736 Change-Id: I657b84f1a967d03f83a803402d8670f9113933eb Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
2025d02cf7
commit
758eaed664
@ -371,6 +371,8 @@ static void processQdocconfFile(const QString &fileName)
|
||||
excludedDirsList = config.getCanonicalRelativePathList(CONFIG_EXCLUDEDIRS);
|
||||
foreach (const QString &excludeDir, excludedDirsList) {
|
||||
QString p = QDir::fromNativeSeparators(excludeDir);
|
||||
QDir tmp(p);
|
||||
if (tmp.exists())
|
||||
excludedDirs.insert(p);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user