QtSupport: Add macro expansion to custom executable config widget

Change-Id: I3a36b4bc8e4abca8b9b71558f303ac5019cbe23c
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
hjk
2014-11-05 16:10:22 +01:00
parent edd960a012
commit 61c4f8d80e

View File

@@ -31,6 +31,7 @@
#include "customexecutableconfigurationwidget.h"
#include "customexecutablerunconfiguration.h"
#include <coreplugin/variablechooser.h>
#include <projectexplorer/environmentaspect.h>
#include <projectexplorer/target.h>
#include <projectexplorer/project.h>
@@ -118,6 +119,8 @@ CustomExecutableConfigurationWidget::CustomExecutableConfigurationWidget(CustomE
// or keep them on cancel
if (mode == InstantApply)
connect(m_runConfiguration, SIGNAL(changed()), this, SLOT(changed()));
Core::VariableChooser::addSupportForChildWidgets(this, m_runConfiguration->macroExpander());
}
void CustomExecutableConfigurationWidget::environmentWasChanged()