summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@theqtcompany.com>2016-04-06 14:35:37 +0200
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2016-04-06 16:32:12 +0000
commit2151606a3549e1b951dd20789d9670a460934cc6 (patch)
tree88b79c24c88f268e6b4a74537b1c508a6b046cf9
parent5aa96caa3c602367a61b613a5810f13cf2502464 (diff)
qdoc: Warn about non-existing sourcedirs and headerdirs
Enable warnings for source and header directories. This will also prevent adding an empty string into the list of resolved directories, which often results in unexpected behavior. Change-Id: I81d508b5cc8cf2bd033e712b575c1cca63d779ce Task-number: QTBUG-50601 Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
-rw-r--r--src/qdoc/config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/config.cpp b/src/qdoc/config.cpp
index 03afcdb7b..ec29f129c 100644
--- a/src/qdoc/config.cpp
+++ b/src/qdoc/config.cpp
@@ -643,8 +643,8 @@ QStringList Config::getAllFiles(const QString &filesVar,
const QSet<QString> &excludedDirs,
const QSet<QString> &excludedFiles)
{
- QStringList result = getCanonicalPathList(filesVar);
- QStringList dirs = getCanonicalPathList(dirsVar);
+ QStringList result = getCanonicalPathList(filesVar, true);
+ QStringList dirs = getCanonicalPathList(dirsVar, true);
QString nameFilter = getString(filesVar + dot + CONFIG_FILEEXTENSIONS);