this should significantly cut down the time wasted looking for files in
non-existing directories, in particular on windows.
Change-Id: I7ab3523fe8c028e3787ebc78e4543ab04f53448e
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
QLibraryInfo::EffectivePaths) +
mkspecs_concat + (*concat_it));
feature_roots.removeDuplicates();
- return feature_roots;
+
+ QStringList ret;
+ foreach (const QString &root, feature_roots)
+ if (QFileInfo(root).exists())
+ ret << root;
+ return ret;
}
QStringList qmake_mkspec_paths()