Commit 1bf5ba84 authored by Eike Ziller's avatar Eike Ziller

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: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 217fef2b
...@@ -56,7 +56,7 @@ CustomExecutableConfigurationWidget::CustomExecutableConfigurationWidget(CustomE ...@@ -56,7 +56,7 @@ CustomExecutableConfigurationWidget::CustomExecutableConfigurationWidget(CustomE
m_executableChooser = new PathChooser(this); m_executableChooser = new PathChooser(this);
m_executableChooser->setHistoryCompleter(QLatin1String("Qt.CustomExecutable.History")); m_executableChooser->setHistoryCompleter(QLatin1String("Qt.CustomExecutable.History"));
m_executableChooser->setExpectedKind(PathChooser::Command); m_executableChooser->setExpectedKind(PathChooser::ExistingCommand);
layout->addRow(tr("Executable:"), m_executableChooser); layout->addRow(tr("Executable:"), m_executableChooser);
auto argumentsAspect = rc->extraAspect<ArgumentsAspect>(); auto argumentsAspect = rc->extraAspect<ArgumentsAspect>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment