forked from qt-creator/qt-creator
Generic/Base make step: Add variable chooser
Variables are already supported, just the chooser was missing. Change-Id: I3a0d64c6a954a8180a388b6dda8c94af11a6daba Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
#include "toolchain.h"
|
#include "toolchain.h"
|
||||||
|
|
||||||
#include <coreplugin/id.h>
|
#include <coreplugin/id.h>
|
||||||
|
#include <coreplugin/variablechooser.h>
|
||||||
#include <utils/qtcprocess.h>
|
#include <utils/qtcprocess.h>
|
||||||
|
|
||||||
using namespace Core;
|
using namespace Core;
|
||||||
@@ -213,6 +214,8 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep) :
|
|||||||
updateDetails();
|
updateDetails();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Core::VariableChooser::addSupportForChildWidgets(this, m_makeStep->macroExpander());
|
||||||
}
|
}
|
||||||
|
|
||||||
MakeStepConfigWidget::~MakeStepConfigWidget()
|
MakeStepConfigWidget::~MakeStepConfigWidget()
|
||||||
|
|||||||
Reference in New Issue
Block a user