forked from qt-creator/qt-creator
McuSupport: Remove outdated Qt for MCUs kits
Add a version to the generated Qt for MCUs kits. That version will increase with every change to the way Qt for MCUs kits get generated. If there are auto-detected Qt for MCUs kits with a different version than the current, remove these kits when a "fresh" gets generated. Task-number: QTCREATORBUG-23891 Change-Id: Iafcd2342d458f9c77ada47180cb61b3b4b090598 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -231,6 +231,7 @@ void McuSupportOptionsWidget::apply()
|
||||
return;
|
||||
|
||||
McuSupportOptions::registerQchFiles();
|
||||
McuSupportOptions::removeOutdatedKits();
|
||||
|
||||
const McuTarget *mcuTarget = currentMcuTarget();
|
||||
if (!mcuTarget)
|
||||
|
||||
Reference in New Issue
Block a user