Custom executable RC: Warn about non-existing command.

Show the path in red with corresponding message in tool tip, without
making it a fatal condition.

Task-number: QTCREATORBUG-15998
Change-Id: I5c6ddf3e79ed4b5ff659f0cab0560fcc78f6f6a9
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Eike Ziller
2016-04-06 15:10:18 +02:00
parent 217fef2b1b
commit 1bf5ba8421

View File

@@ -56,7 +56,7 @@ CustomExecutableConfigurationWidget::CustomExecutableConfigurationWidget(CustomE
m_executableChooser = new PathChooser(this);
m_executableChooser->setHistoryCompleter(QLatin1String("Qt.CustomExecutable.History"));
m_executableChooser->setExpectedKind(PathChooser::Command);
m_executableChooser->setExpectedKind(PathChooser::ExistingCommand);
layout->addRow(tr("Executable:"), m_executableChooser);
auto argumentsAspect = rc->extraAspect<ArgumentsAspect>();