forked from qt-creator/qt-creator
McuSupport: Change Kit Aspects validation check CMake variables
Before QUL 2.0, path for tools used during compilation were passed as environment variables. Starting with 2.0, they are passed as CMake configuration arguments. So, in order to validate a kit, the dependencies aspect now needs to validate the CMake configuration aspects. As 1.9 will no longer be supported, starting with this version of Qt Creator, the environment checking code is removed. Change-Id: I24991063dcdf9b455bd8f20226756dc2b3637f6d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -82,7 +82,7 @@ void McuSupportTest::test_addNewKit()
|
||||
|
||||
void McuSupportTest::test_addFreeRtosCmakeVarToKit()
|
||||
{
|
||||
McuSupportOptions::updateKitEnvironment(&kit, &mcuTarget);
|
||||
McuKitManager::updateKitEnvironment(&kit, &mcuTarget);
|
||||
|
||||
QVERIFY(kit.hasValue(EnvironmentKitAspect::id()));
|
||||
QVERIFY(kit.isValid());
|
||||
|
||||
Reference in New Issue
Block a user