forked from qt-creator/qt-creator
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:
@@ -31,6 +31,7 @@
|
|||||||
#include "customexecutableconfigurationwidget.h"
|
#include "customexecutableconfigurationwidget.h"
|
||||||
#include "customexecutablerunconfiguration.h"
|
#include "customexecutablerunconfiguration.h"
|
||||||
|
|
||||||
|
#include <coreplugin/variablechooser.h>
|
||||||
#include <projectexplorer/environmentaspect.h>
|
#include <projectexplorer/environmentaspect.h>
|
||||||
#include <projectexplorer/target.h>
|
#include <projectexplorer/target.h>
|
||||||
#include <projectexplorer/project.h>
|
#include <projectexplorer/project.h>
|
||||||
@@ -118,6 +119,8 @@ CustomExecutableConfigurationWidget::CustomExecutableConfigurationWidget(CustomE
|
|||||||
// or keep them on cancel
|
// or keep them on cancel
|
||||||
if (mode == InstantApply)
|
if (mode == InstantApply)
|
||||||
connect(m_runConfiguration, SIGNAL(changed()), this, SLOT(changed()));
|
connect(m_runConfiguration, SIGNAL(changed()), this, SLOT(changed()));
|
||||||
|
|
||||||
|
Core::VariableChooser::addSupportForChildWidgets(this, m_runConfiguration->macroExpander());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CustomExecutableConfigurationWidget::environmentWasChanged()
|
void CustomExecutableConfigurationWidget::environmentWasChanged()
|
||||||
|
Reference in New Issue
Block a user