forked from qt-creator/qt-creator
prune feature search paths which don't actually exist
follow suit with qmake ... Change-Id: Ifd84044f0543a80cdabee980185cc2e8bd492ea6 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -1175,7 +1175,11 @@ QStringList QMakeEvaluator::qmakeFeaturePaths() const
|
||||
|
||||
feature_roots.removeDuplicates();
|
||||
|
||||
return feature_roots;
|
||||
QStringList ret;
|
||||
foreach (const QString &root, feature_roots)
|
||||
if (IoUtils::exists(root))
|
||||
ret << root;
|
||||
return ret;
|
||||
}
|
||||
|
||||
QString QMakeEvaluator::propertyValue(const QString &name, bool complain) const
|
||||
|
||||
Reference in New Issue
Block a user