McuSupport: Create a Qul-Desktop kit

First, hacky step towards supporting the "Qt" target. Such a target now
gets created with correct environment variables and CMake options.

Device type is for now Desktop, but portale thinks we will have a Qul/
Desktop target at some point.

Compiler and Qt version are randomly preselected and certainly need to
be adjusted by the user (for now).

Change-Id: Ie3f6a6e3ce1a46c35687e20a7550ff51b6b1b7c7
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
This commit is contained in:
Alessandro Portale
2019-11-02 06:19:51 +01:00
committed by Aurindam Jana
parent 2c112a51c3
commit 7d14132c8c
3 changed files with 47 additions and 21 deletions

View File

@@ -108,14 +108,14 @@ void McuSupportOptionsWidget::updateStatus()
{
const QVector<BoardOptions*> validBoards = m_options->validBoards();
m_statusLabel->setText(validBoards.isEmpty()
? McuSupportOptionsPage::tr("No devices and kits can currently be generated. "
"Select a board and provide the package paths. "
"Afterwards, press Apply to generate device and kit for "
? McuSupportOptionsPage::tr("No kits can currently be generated. "
"Select a target and provide the package paths. "
"Afterwards, press Apply to generate a kit for "
"your board.")
: McuSupportOptionsPage::tr("Devices and kits for the following boards can be generated: "
: McuSupportOptionsPage::tr("Kits for the following targets can be generated: "
"%1 "
"Press Apply to generate device and kit for "
"your board.").arg(ulOfBoardModels(validBoards)));
"Press Apply to generate a kit for "
"your target.").arg(ulOfBoardModels(validBoards)));
}
void McuSupportOptionsWidget::showBoardPackages(int boardIndex)