forked from qt-creator/qt-creator
Avoid running qmake by using unsortedVersions
Use unsortedVersions() instead of versions() where possible, since versions() sorts by version numbers, and therefore needs "qmake -query" to have run. Change-Id: I76a05f1647d2baacbd33829c6b3bf719a1c8dcbb Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -144,7 +144,7 @@ static QHash<Platform, ClangToolChain *> findToolChains(const QList<Platform> &p
|
||||
static QHash<Abi::Architecture, QSet<BaseQtVersion *>> iosQtVersions()
|
||||
{
|
||||
QHash<Abi::Architecture, QSet<BaseQtVersion *>> versions;
|
||||
foreach (BaseQtVersion *qtVersion, QtVersionManager::versions()) {
|
||||
foreach (BaseQtVersion *qtVersion, QtVersionManager::unsortedVersions()) {
|
||||
if (!qtVersion->isValid() || qtVersion->type() != QLatin1String(Constants::IOSQT))
|
||||
continue;
|
||||
foreach (const Abi &abi, qtVersion->qtAbis())
|
||||
|
||||
Reference in New Issue
Block a user