use source root also for finding features

Change-Id: I108914c6d2c6d06414156584aeb3a1afb0f5838d
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
This commit is contained in:
Oswald Buddenhagen 2012-06-18 12:06:37 +02:00
parent 689aa4da2d
commit 2106ab2e75

View File

@ -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)