Qbs: Add variable chooser to Run Configuration widget

Change-Id: I8b52b4021e640232e722f33ce20229fe4c7280c7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Orgad Shaneh
2017-09-10 16:27:54 +03:00
committed by Orgad Shaneh
parent c9f48f87e2
commit a8410721be

View File

@@ -30,6 +30,7 @@
#include "qbsproject.h"
#include <coreplugin/messagemanager.h>
#include <coreplugin/variablechooser.h>
#include <projectexplorer/buildmanager.h>
#include <projectexplorer/buildstep.h>
#include <projectexplorer/buildsteplist.h>
@@ -336,6 +337,8 @@ QbsRunConfigurationWidget::QbsRunConfigurationWidget(QbsRunConfiguration *rc)
connect(m_rc, &RunConfiguration::enabledChanged,
this, &QbsRunConfigurationWidget::targetInformationHasChanged);
Core::VariableChooser::addSupportForChildWidgets(this, rc->macroExpander());
}
void QbsRunConfigurationWidget::targetInformationHasChanged()