forked from qt-creator/qt-creator
Update import label when rebuilding
* Update the import label (and related stuff) whenever the project was rebuild.
This commit is contained in:
@@ -70,7 +70,6 @@ public:
|
||||
//shows with focus
|
||||
void gotoTaskWindow();
|
||||
|
||||
//TODO these should take buildconfiguration object
|
||||
void buildProject(BuildConfiguration *bc);
|
||||
void buildProjects(const QList<BuildConfiguration *> &configurations);
|
||||
void cleanProject(BuildConfiguration *configuration);
|
||||
|
||||
@@ -43,7 +43,6 @@ class IFile;
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
class BuildManager;
|
||||
class BuildConfigWidget;
|
||||
class IProjectManager;
|
||||
class EditorConfiguration;
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <coreplugin/mainwindow.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/buildconfiguration.h>
|
||||
#include <projectexplorer/buildmanager.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
@@ -102,6 +103,9 @@ Qt4ProjectConfigWidget::Qt4ProjectConfigWidget(Qt4Project *project)
|
||||
connect(m_ui->manageQtVersionPushButtons, SIGNAL(clicked()),
|
||||
this, SLOT(manageQtVersions()));
|
||||
|
||||
connect(ProjectExplorer::ProjectExplorerPlugin::instance()->buildManager(),
|
||||
SIGNAL(buildQueueFinished(bool)),
|
||||
this, SLOT(updateImportLabel()));
|
||||
|
||||
QtVersionManager *vm = QtVersionManager::instance();
|
||||
connect(vm, SIGNAL(qtVersionsChanged(QList<int>)),
|
||||
|
||||
Reference in New Issue
Block a user