-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
None
-
5
-
Tooling Sprint 2.1/2021
In the MCU settings, the automated kit creation option could be improved to provide a better experience when changing versions.
Currently, the MCU plugin automatically creates kits if the relevant check box is selected, and on Qt Creator startup. When changing the path to the Qt for MCUs installation folder, nothing is done if MCU kits already exist.
Instead, when changing the path or when enabling the checkbox, a popup could be shown to the user to ask if the kits should be created right away.
In addition, when kits are automatically created, they should replace any kits that previously existed.
Acceptance criteria:
1. The functionality is triggered:
- When the automatic kit creation is triggered at the start of Qt Creator OR
- When the SDK path is changed in the options menu
2. The plugin will check if the Kits for the detected targets already exist and compare them with the parsed kit descriptions to check if:
- The SDK path is different OR
- The SDK version is different
3. In that case, a pop-up is shown to the user, asking if they want to update the kits with the new version.
- If the user answers "NO", there is nothing else to do.
4. If the user answers "YES", a second pop-up asks the user if they want to remove the old kits.
- If "YES", the old kits are removed and the new ones created.
- If "NO", copies of the old kits are created (the same as the "clone" functionality), so that they appear as "manual" and the user can later delete them if they want; and the "automatic" kits are replaced with the new versions.