forked from qt-creator/qt-creator
Add QtVersionManager::unsortedVersions()
To sort the list, we need to know the version number of all qt versions. That requires running the qmake. Since in most cases we don't need the sorted list at startup, add a method for that and use it. This prevents almost all calls to queryQmake for me, except for a few for Android Qt Versions. Change-Id: I6db89f214d68d07fee4b4dd15ee14c10d1248565 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
f54b7d63cc
commit
5f9d991062
@@ -1302,7 +1302,7 @@ void AndroidConfigurations::updateAutomaticKitList()
|
||||
}
|
||||
|
||||
QHash<Abi, QList<QtSupport::BaseQtVersion *> > qtVersionsForArch;
|
||||
foreach (QtSupport::BaseQtVersion *qtVersion, QtSupport::QtVersionManager::versions()) {
|
||||
foreach (QtSupport::BaseQtVersion *qtVersion, QtSupport::QtVersionManager::unsortedVersions()) {
|
||||
if (qtVersion->type() != QLatin1String(Constants::ANDROIDQT))
|
||||
continue;
|
||||
QList<Abi> qtAbis = qtVersion->qtAbis();
|
||||
|
||||
Reference in New Issue
Block a user