forked from qt-creator/qt-creator
McuSupport: Use legacy implementation for QtMCUs 2.2
New implementation of mcu support plugin is not yet finished so we should use legacy implementation for QtMCUs 2.2 JSON kits. Change-Id: I8e6a8b7af2c3b4683bb19a5f05edd6ff5df46e5b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -48,7 +48,7 @@ using McuToolChainPackagePtr = QSharedPointer<McuToolChainPackage>;
|
||||
using McuTargetPtr = QSharedPointer<McuTarget>;
|
||||
|
||||
static const QVersionNumber minimalVersion{2, 0, 0};
|
||||
static const QVersionNumber newVersion{2, 2};
|
||||
static const QVersionNumber newVersion{2, 3};
|
||||
using Targets = QList<McuTargetPtr>;
|
||||
using Packages = QSet<McuPackagePtr>;
|
||||
|
||||
|
@@ -598,8 +598,9 @@ void McuSupportTest::test_twoDotOneUsesLegacyImplementation()
|
||||
QCOMPARE(McuSupportOptions::isLegacyVersion({2, 0}), true);
|
||||
QCOMPARE(McuSupportOptions::isLegacyVersion({2, 0, 0}), true);
|
||||
QCOMPARE(McuSupportOptions::isLegacyVersion({2, 0, 1}), true);
|
||||
QCOMPARE(McuSupportOptions::isLegacyVersion({2, 2, 0}), false);
|
||||
QCOMPARE(McuSupportOptions::isLegacyVersion({2, 2, 1}), false);
|
||||
QCOMPARE(McuSupportOptions::isLegacyVersion({2, 2, 0}), true);
|
||||
QCOMPARE(McuSupportOptions::isLegacyVersion({2, 2, 1}), true);
|
||||
QCOMPARE(McuSupportOptions::isLegacyVersion({2, 3, 0}), false);
|
||||
}
|
||||
void McuSupportTest::test_useFallbackPathForToolchainWhenPathFromSettingsIsNotAvailable()
|
||||
{
|
||||
|
Reference in New Issue
Block a user