From 1bf5ba8421ae25d214b3e585035c0cc4710cb5be Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 6 Apr 2016 15:10:18 +0200 Subject: [PATCH] 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 --- src/plugins/qtsupport/customexecutableconfigurationwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qtsupport/customexecutableconfigurationwidget.cpp b/src/plugins/qtsupport/customexecutableconfigurationwidget.cpp index 0bb23d8a46f..8cf0b1d26d4 100644 --- a/src/plugins/qtsupport/customexecutableconfigurationwidget.cpp +++ b/src/plugins/qtsupport/customexecutableconfigurationwidget.cpp @@ -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();