diff --git a/src/plugins/mcusupport/mcusupport_global.h b/src/plugins/mcusupport/mcusupport_global.h index a4a4daba46f..bb05bd0441d 100644 --- a/src/plugins/mcusupport/mcusupport_global.h +++ b/src/plugins/mcusupport/mcusupport_global.h @@ -48,7 +48,7 @@ using McuToolChainPackagePtr = QSharedPointer; using McuTargetPtr = QSharedPointer; static const QVersionNumber minimalVersion{2, 0, 0}; -static const QVersionNumber newVersion{2, 2}; +static const QVersionNumber newVersion{2, 3}; using Targets = QList; using Packages = QSet; diff --git a/src/plugins/mcusupport/test/unittest.cpp b/src/plugins/mcusupport/test/unittest.cpp index 0c5cb38dacb..e723d3cf0a0 100644 --- a/src/plugins/mcusupport/test/unittest.cpp +++ b/src/plugins/mcusupport/test/unittest.cpp @@ -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() {