McuSupport: Add dialog for Qt MCUs kit creation status and help

The status of automatically created kits or manually updated ones is
displayed in "General Messages" along with other messages making it
difficult to know if something went wrong with kit creation.

To avoid showing a dialog at QtC startup an InfoBar message was added
with a detail button that will open a dialog listing all the messages
with their platform, package and Os providing an easy button to go to
the MCU Option page to fix the package of a help button pointing to the
prerequisites documentation.

Fixes: QTCREATORBUG-28920
Change-Id: I20c30d968fbd2d4c6d10d16504a51e7201a2db3b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Yasser Grimes
2023-03-24 17:49:27 +02:00
parent 2ad153f30e
commit 7aec8c0b14
15 changed files with 411 additions and 26 deletions

View File

@@ -61,6 +61,9 @@ public:
[[nodiscard]] Utils::FilePath qulDirFromSettings() const;
[[nodiscard]] Utils::FilePath qulDocsDir() const;
static McuKitManager::UpgradeOption askForKitUpgrades();
static void displayKitCreationMessages(const MessagesList &messages,
const SettingsHandler::Ptr &settingsHandler,
McuPackagePtr qtMCUsPackage);
void registerQchFiles() const;
void registerExamples() const;