diff options
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r-- | qmake/project.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 8b151539fd..36bf6add96 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -583,6 +583,8 @@ QStringList QMakeProject::qmakeFeaturePaths() QStringList feature_bases; if (!cached_build_root.isEmpty()) feature_bases << cached_build_root; + if (!cached_source_root.isEmpty()) + feature_bases << cached_source_root; QStringList qmakepath = splitPathList(QString::fromLocal8Bit(qgetenv("QMAKEPATH"))); qmakepath += cached_qmakepath; foreach (const QString &path, qmakepath) |