diff --git a/src/libs/utils/fileinprojectfinder.h b/src/libs/utils/fileinprojectfinder.h
index aff9b214d3e476bf26b6da3827b9949fa355ad1b..b8941b80d76046d4d55ed4a8b1564908a6d81f09 100644
--- a/src/libs/utils/fileinprojectfinder.h
+++ b/src/libs/utils/fileinprojectfinder.h
@@ -37,7 +37,8 @@
 
 #include <QtCore/QHash>
 #include <QtCore/QStringList>
-#include <QtCore/QUrl>
+
+QT_FORWARD_DECLARE_CLASS(QUrl)
 
 namespace Utils {
 
diff --git a/src/libs/utils/filesearch.cpp b/src/libs/utils/filesearch.cpp
index f094d4f1f61f51f6ca6323f26cc117bb61188c27..98386def461233875300272fdb164f96a449c7d0 100644
--- a/src/libs/utils/filesearch.cpp
+++ b/src/libs/utils/filesearch.cpp
@@ -33,13 +33,12 @@
 #include "filesearch.h"
 #include <cctype>
 
-#include <QtCore/QIODevice>
 #include <QtCore/QBuffer>
 #include <QtCore/QFile>
-#include <QtCore/QFutureInterface>
 #include <QtCore/QtConcurrentRun>
 #include <QtCore/QRegExp>
 #include <QtCore/QCoreApplication>
+#include <QtCore/QTextCodec>
 
 #include <qtconcurrent/runextensions.h>
 
diff --git a/src/libs/utils/filesearch.h b/src/libs/utils/filesearch.h
index 5866d33d17eb8cfbb978fe55d9ff7292dbc96d1d..6ec728775c8ed9705b74e0fe219c94ba49a989f5 100644
--- a/src/libs/utils/filesearch.h
+++ b/src/libs/utils/filesearch.h
@@ -40,9 +40,10 @@
 #include <QtCore/QMap>
 #include <QtCore/QStack>
 #include <QtCore/QDir>
-#include <QtCore/QTextCodec>
 #include <QtGui/QTextDocument>
 
+QT_FORWARD_DECLARE_CLASS(QTextCodec)
+
 namespace Utils {
 
 class QTCREATOR_UTILS_EXPORT FileIterator
diff --git a/src/libs/utils/flowlayout.cpp b/src/libs/utils/flowlayout.cpp
index 6cc6974a78f7fad308921909e5ff3f28c1f2a443..3c1df892951e3ce2fed43880177940bc84983556 100644
--- a/src/libs/utils/flowlayout.cpp
+++ b/src/libs/utils/flowlayout.cpp
@@ -34,6 +34,7 @@
 
 #include <QtCore/QRect>
 #include <QtGui/QWidgetItem>
+#include <QtGui/QWidget>
 
 using namespace Utils;
 
diff --git a/src/libs/utils/flowlayout.h b/src/libs/utils/flowlayout.h
index d75f40721741fbd9adbaf2e227fc5334960c5232..31ecf3de918063c7bdc77455871c7a848464ead5 100644
--- a/src/libs/utils/flowlayout.h
+++ b/src/libs/utils/flowlayout.h
@@ -36,7 +36,6 @@
 #include "utils_global.h"
 
 #include <QtGui/QLayout>
-#include <QtGui/QWidget>
 #include <QtGui/QStyle>
 
 namespace Utils {
diff --git a/src/libs/utils/iwelcomepage.cpp b/src/libs/utils/iwelcomepage.cpp
index 84b018c64630b15a44fe74a260928186ba4d7eb0..c54c53c68d1b6ff82bc1174dbf7a802faa47aae0 100644
--- a/src/libs/utils/iwelcomepage.cpp
+++ b/src/libs/utils/iwelcomepage.cpp
@@ -32,14 +32,14 @@
 
 #include "iwelcomepage.h"
 
-using namespace Utils;
+namespace Utils {
 
 IWelcomePage::IWelcomePage()
 {
-
 }
 
 IWelcomePage::~IWelcomePage()
 {
-
 }
+
+} // namespace Utils
diff --git a/src/libs/utils/iwelcomepage.h b/src/libs/utils/iwelcomepage.h
index 4363beb78e6a39962a2b3dd99d7189c897278d06..7e0981d2709dc4aa62b0ecbc6f985e581722a915 100644
--- a/src/libs/utils/iwelcomepage.h
+++ b/src/libs/utils/iwelcomepage.h
@@ -33,16 +33,12 @@
 #ifndef IWELCOMEPAGE_H
 #define IWELCOMEPAGE_H
 
+#include "utils_global.h"
 
 #include <QtCore/QObject>
-#include <QtCore/QMetaType>
 #include <QtCore/QUrl>
 
-#include "utils_global.h"
-
-QT_BEGIN_NAMESPACE
-class QDeclarativeEngine;
-QT_END_NAMESPACE
+QT_FORWARD_DECLARE_CLASS(QDeclarativeEngine)
 
 namespace Utils {
 
diff --git a/src/libs/utils/networkaccessmanager.cpp b/src/libs/utils/networkaccessmanager.cpp
index 349eaeb48647bc1b521db4348a393707fb698133..327e002061754de9f80ba25e9240a311e494fbf1 100644
--- a/src/libs/utils/networkaccessmanager.cpp
+++ b/src/libs/utils/networkaccessmanager.cpp
@@ -33,6 +33,7 @@
 #include "networkaccessmanager.h"
 
 #include <QtCore/QLocale>
+#include <QtCore/QUrl>
 #include <QtNetwork/QNetworkReply>
 
 #ifdef Q_OS_UNIX
diff --git a/src/libs/utils/networkaccessmanager.h b/src/libs/utils/networkaccessmanager.h
index dd43cee0ca1a04f44ba403dc85c98a7b3b77342b..68be4b2d08392df43c57ea281027986f556fb70d 100644
--- a/src/libs/utils/networkaccessmanager.h
+++ b/src/libs/utils/networkaccessmanager.h
@@ -32,9 +32,10 @@
 
 #include "utils_global.h"
 
-#include <QtCore/QUrl>
 #include <QtNetwork/QNetworkAccessManager>
 
+QT_FORWARD_DECLARE_CLASS(QUrl)
+
 namespace Utils {
 
 class QTCREATOR_UTILS_EXPORT NetworkAccessManager : public QNetworkAccessManager
diff --git a/src/libs/utils/savefile.cpp b/src/libs/utils/savefile.cpp
index a7d5806334d3a7e9c6930dbf150912c2e6f1ae40..63028d82503cdf8d89a8b89328acb3d37d33de62 100644
--- a/src/libs/utils/savefile.cpp
+++ b/src/libs/utils/savefile.cpp
@@ -31,19 +31,13 @@
 **************************************************************************/
 
 #include "savefile.h"
-
 #include "qtcassert.h"
 
-#include <QtCore/QFileInfo>
-#include <QtCore/QTemporaryFile>
-
 namespace Utils {
 
-SaveFile::SaveFile(const QString &filename)
+SaveFile::SaveFile(const QString &filename) :
+    m_finalFileName(filename), m_finalized(false), m_backup(false)
 {
-    m_finalFileName = filename;
-    m_finalized = false;
-    m_backup = false;
 }
 
 SaveFile::~SaveFile()
diff --git a/src/libs/utils/savefile.h b/src/libs/utils/savefile.h
index 8d1325b2bb1223b7119f30ca2a2f95eebdb7d04e..ec90b890a57efdd895900cdec1e66dc3ed4f7a16 100644
--- a/src/libs/utils/savefile.h
+++ b/src/libs/utils/savefile.h
@@ -53,7 +53,7 @@ public:
     void setBackup(bool backup) { m_backup = backup; }
 
 private:
-    QString m_finalFileName;
+    const QString m_finalFileName;
     bool m_finalized;
     bool m_backup;
 };
diff --git a/src/plugins/coreplugin/coreplugin.pro b/src/plugins/coreplugin/coreplugin.pro
index 554506b900ce82291653e3e97b908890fb8ceafc..8812bd21352a72d16ce7fa85db525c6626fb6235 100644
--- a/src/plugins/coreplugin/coreplugin.pro
+++ b/src/plugins/coreplugin/coreplugin.pro
@@ -184,7 +184,8 @@ HEADERS += mainwindow.h \
     mimetypemagicdialog.h \
     mimetypesettings.h \
     dialogs/promptoverwritedialog.h \
-    fileutils.h
+    fileutils.h \
+    externaltoolmanager.h
 
 FORMS += dialogs/newdialog.ui \
     actionmanager/commandmappings.ui \
diff --git a/src/plugins/coreplugin/externaltool.cpp b/src/plugins/coreplugin/externaltool.cpp
index 2681ebb2f037895ef49381f78f5879a2a8dca6b7..9111739e961605dd31ce5c737992120ab1a8954f 100644
--- a/src/plugins/coreplugin/externaltool.cpp
+++ b/src/plugins/coreplugin/externaltool.cpp
@@ -31,7 +31,9 @@
 **************************************************************************/
 
 #include "externaltool.h"
+#include "externaltoolmanager.h"
 #include "actionmanager/actionmanager.h"
+#include "actionmanager/actioncontainer.h"
 #include "coreconstants.h"
 #include "variablemanager.h"
 
@@ -44,6 +46,7 @@
 #include <utils/stringutils.h>
 #include <utils/environment.h>
 #include <utils/fileutils.h>
+#include <utils/qtcprocess.h>
 
 #include <QtCore/QCoreApplication>
 #include <QtCore/QXmlStreamReader>
diff --git a/src/plugins/coreplugin/externaltool.h b/src/plugins/coreplugin/externaltool.h
index 693ec098dc974ea50c29fab01eaa359d1fee07ab..7ba857ed8bc06f55704768b6a007f45683ff0a81 100644
--- a/src/plugins/coreplugin/externaltool.h
+++ b/src/plugins/coreplugin/externaltool.h
@@ -33,22 +33,18 @@
 #ifndef EXTERNALTOOL_H
 #define EXTERNALTOOL_H
 
-#include "icore.h"
-#include "core_global.h"
-#include "actionmanager/command.h"
-#include "actionmanager/actioncontainer.h"
-
-#include <utils/qtcprocess.h>
-
 #include <QtCore/QObject>
-#include <QtCore/QString>
 #include <QtCore/QStringList>
 #include <QtCore/QProcess>
 #include <QtCore/QSharedPointer>
 #include <QtCore/QTextCodec>
-#include <QtGui/QMenu>
+#include <QtCore/QMetaType>
 
+namespace Utils {
+class QtcProcess;
+}
 namespace Core {
+class ActionContainer;
 namespace Internal {
 
 class ExternalTool : public QObject
@@ -164,52 +160,6 @@ private:
 };
 
 } // Internal
-
-class CORE_EXPORT ExternalToolManager : public QObject
-{
-    Q_OBJECT
-
-public:
-    static ExternalToolManager *instance() { return m_instance; }
-
-    ExternalToolManager(Core::ICore *core);
-    ~ExternalToolManager();
-
-    QMap<QString, QList<Internal::ExternalTool *> > toolsByCategory() const;
-    QMap<QString, Internal::ExternalTool *> toolsById() const;
-
-    void setToolsByCategory(const QMap<QString, QList<Internal::ExternalTool *> > &tools);
-
-signals:
-    void replaceSelectionRequested(const QString &text);
-
-private slots:
-    void menuActivated();
-    void openPreferences();
-
-private:
-    void initialize();
-    void parseDirectory(const QString &directory,
-                        QMap<QString, QMultiMap<int, Internal::ExternalTool*> > *categoryMenus,
-                        QMap<QString, Internal::ExternalTool *> *tools,
-                        bool isPreset = false);
-    void readSettings(const QMap<QString, Internal::ExternalTool *> &tools,
-                      QMap<QString, QList<Internal::ExternalTool*> > *categoryPriorityMap);
-    void writeSettings();
-
-    static ExternalToolManager *m_instance;
-    Core::ICore *m_core;
-    QMap<QString, Internal::ExternalTool *> m_tools;
-    QMap<QString, QList<Internal::ExternalTool *> > m_categoryMap;
-    QMap<QString, QAction *> m_actions;
-    QMap<QString, ActionContainer *> m_containers;
-    QAction *m_configureSeparator;
-    QAction *m_configureAction;
-
-    // for sending the replaceSelectionRequested signal
-    friend class Core::Internal::ExternalToolRunner;
-};
-
 } // Core
 
 Q_DECLARE_METATYPE(Core::Internal::ExternalTool *)
diff --git a/src/plugins/coreplugin/externaltoolmanager.h b/src/plugins/coreplugin/externaltoolmanager.h
new file mode 100644
index 0000000000000000000000000000000000000000..d2c48e467ecfc5376b4c3a3fc0194d51f65963cd
--- /dev/null
+++ b/src/plugins/coreplugin/externaltoolmanager.h
@@ -0,0 +1,102 @@
+/**************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact: Nokia Corporation (info@qt.nokia.com)
+**
+**
+** GNU Lesser General Public License Usage
+**
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this file.
+** Please review the following information to ensure the GNU Lesser General
+** Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** Other Usage
+**
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at info@qt.nokia.com.
+**
+**************************************************************************/
+
+#ifndef EXTERNALTOOLMANAGER_H
+#define EXTERNALTOOLMANAGER_H
+
+#include "core_global.h"
+
+#include <QtCore/QObject>
+#include <QtCore/QMap>
+#include <QtCore/QList>
+#include <QtCore/QString>
+
+QT_FORWARD_DECLARE_CLASS(QAction)
+
+namespace Core {
+class ICore;
+class ActionContainer;
+
+namespace Internal {
+class ExternalToolRunner;
+class ExternalTool;
+}
+
+class CORE_EXPORT ExternalToolManager : public QObject
+{
+    Q_OBJECT
+
+public:
+    static ExternalToolManager *instance() { return m_instance; }
+
+    ExternalToolManager(Core::ICore *core);
+    ~ExternalToolManager();
+
+    QMap<QString, QList<Internal::ExternalTool *> > toolsByCategory() const;
+    QMap<QString, Internal::ExternalTool *> toolsById() const;
+
+    void setToolsByCategory(const QMap<QString, QList<Internal::ExternalTool *> > &tools);
+
+signals:
+    void replaceSelectionRequested(const QString &text);
+
+private slots:
+    void menuActivated();
+    void openPreferences();
+
+private:
+    void initialize();
+    void parseDirectory(const QString &directory,
+                        QMap<QString, QMultiMap<int, Internal::ExternalTool*> > *categoryMenus,
+                        QMap<QString, Internal::ExternalTool *> *tools,
+                        bool isPreset = false);
+    void readSettings(const QMap<QString, Internal::ExternalTool *> &tools,
+                      QMap<QString, QList<Internal::ExternalTool*> > *categoryPriorityMap);
+    void writeSettings();
+
+    static ExternalToolManager *m_instance;
+    Core::ICore *m_core;
+    QMap<QString, Internal::ExternalTool *> m_tools;
+    QMap<QString, QList<Internal::ExternalTool *> > m_categoryMap;
+    QMap<QString, QAction *> m_actions;
+    QMap<QString, ActionContainer *> m_containers;
+    QAction *m_configureSeparator;
+    QAction *m_configureAction;
+
+    // for sending the replaceSelectionRequested signal
+    friend class Core::Internal::ExternalToolRunner;
+};
+
+} // Core
+
+
+#endif // EXTERNALTOOLMANAGER_H
diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp
index 973ddf1c7f327d1dbbfc552294b3b95c5722da4f..528eacc495734c50b89187bff09a8682981edea6 100644
--- a/src/plugins/coreplugin/mainwindow.cpp
+++ b/src/plugins/coreplugin/mainwindow.cpp
@@ -72,6 +72,7 @@
 #include "statusbarwidget.h"
 #include "basefilewizard.h"
 #include "ioutputpane.h"
+#include "externaltoolmanager.h"
 #include "editormanager/systemeditor.h"
 
 #include <coreplugin/findplaceholder.h>
diff --git a/src/plugins/coreplugin/messageoutputwindow.cpp b/src/plugins/coreplugin/messageoutputwindow.cpp
index cb082d532816640ee0f7e88b023ff34a3dc14b9a..634a1a642361936e4cf71366c489c40f24ce9390 100644
--- a/src/plugins/coreplugin/messageoutputwindow.cpp
+++ b/src/plugins/coreplugin/messageoutputwindow.cpp
@@ -31,6 +31,7 @@
 **************************************************************************/
 
 #include "messageoutputwindow.h"
+#include "outputwindow.h"
 #include "icontext.h"
 #include "coreconstants.h"
 
diff --git a/src/plugins/coreplugin/messageoutputwindow.h b/src/plugins/coreplugin/messageoutputwindow.h
index 2f7d95a10ae09d59c6f0d45d2f03dada653b59d1..334b8a2ca50d710fa54a47f58be322c6b3dfafe5 100644
--- a/src/plugins/coreplugin/messageoutputwindow.h
+++ b/src/plugins/coreplugin/messageoutputwindow.h
@@ -34,13 +34,10 @@
 #define MESSAGEOUTPUTWINDOW_H
 
 #include "ioutputpane.h"
-#include "outputwindow.h"
-
-#include <QtGui/QShowEvent>
-#include <QtGui/QResizeEvent>
-#include <QtGui/QTextEdit>
 
 namespace Core {
+class OutputWindow;
+
 namespace Internal {
 
 class MessageOutputWindow : public Core::IOutputPane
diff --git a/src/plugins/coreplugin/sidebarwidget.h b/src/plugins/coreplugin/sidebarwidget.h
index 3b7c3624a0b4a652c5411c7d4f0adb45df09aa58..75b0ce21d22e76770fff59ab72d0b2ab8ac54648 100644
--- a/src/plugins/coreplugin/sidebarwidget.h
+++ b/src/plugins/coreplugin/sidebarwidget.h
@@ -33,7 +33,6 @@
 #ifndef SIDEBARWIDGET_H
 #define SIDEBARWIDGET_H
 
-#include <QtCore/QMap>
 #include <QtGui/QWidget>
 
 QT_BEGIN_NAMESPACE
diff --git a/src/plugins/coreplugin/statusbarmanager.h b/src/plugins/coreplugin/statusbarmanager.h
index 872d41ace429d5b9bc455ca86d4da54219d08fbc..6c25b28e1bc0c999083fb189d6926ab5889eddf6 100644
--- a/src/plugins/coreplugin/statusbarmanager.h
+++ b/src/plugins/coreplugin/statusbarmanager.h
@@ -33,7 +33,10 @@
 #ifndef STATUSBARMANAGER_H
 #define STATUSBARMANAGER_H
 
-#include <QtGui/QWidget>
+#include <QtCore/QObject>
+#include <QtCore/QList>
+
+QT_FORWARD_DECLARE_CLASS(QWidget)
 
 namespace Core {
 namespace Internal {
diff --git a/src/plugins/coreplugin/toolsettings.cpp b/src/plugins/coreplugin/toolsettings.cpp
index cf2c3757a919cf4114b853cf2cc39e761dd53c57..3f32fd47e88457fe37f6db524cc28c05f5c5d5ab 100644
--- a/src/plugins/coreplugin/toolsettings.cpp
+++ b/src/plugins/coreplugin/toolsettings.cpp
@@ -31,9 +31,11 @@
 **************************************************************************/
 
 #include "toolsettings.h"
-
+#include "dialogs/externaltoolconfig.h"
 #include "externaltool.h"
+#include "externaltoolmanager.h"
 #include "coreconstants.h"
+#include "icore.h"
 
 #include <utils/qtcassert.h>
 
@@ -41,6 +43,7 @@
 #include <QtCore/QFileInfo>
 #include <QtCore/QDir>
 #include <QtCore/QTime>
+#include <QtGui/QIcon>
 
 #include <QtDebug>
 
@@ -52,6 +55,10 @@ ToolSettings::ToolSettings(QObject *parent) :
 {
 }
 
+ToolSettings::~ToolSettings()
+{
+}
+
 QString ToolSettings::id() const
 {
     return QLatin1String(Core::Constants::SETTINGS_ID_TOOLS);
diff --git a/src/plugins/coreplugin/toolsettings.h b/src/plugins/coreplugin/toolsettings.h
index da291076722babfe5c4525a420f1674d10f872ef..42b359b1824c350146427d3945c48f5454071072 100644
--- a/src/plugins/coreplugin/toolsettings.h
+++ b/src/plugins/coreplugin/toolsettings.h
@@ -33,8 +33,6 @@
 #ifndef TOOLSETTINGS_H
 #define TOOLSETTINGS_H
 
-#include "dialogs/externaltoolconfig.h"
-
 #include "ioptionspage.h"
 
 #include <QtCore/QPointer>
@@ -42,12 +40,14 @@
 namespace Core {
 namespace Internal {
 
+class ExternalToolConfig;
+
 class ToolSettings : public IOptionsPage
 {
     Q_OBJECT
 public:
     explicit ToolSettings(QObject *parent = 0);
-    ~ToolSettings() {}
+    ~ToolSettings();
 
     QString id() const;
     QString displayName() const;
diff --git a/src/plugins/coreplugin/variablechooser.cpp b/src/plugins/coreplugin/variablechooser.cpp
index 09528d0654ab44671e0f2dfaf25488693e9a682c..16b21d0393fe767afba824176de0d9c5c33cbd13 100644
--- a/src/plugins/coreplugin/variablechooser.cpp
+++ b/src/plugins/coreplugin/variablechooser.cpp
@@ -35,7 +35,13 @@
 #include "variablemanager.h"
 #include "coreconstants.h"
 
+#include <utils/fancylineedit.h> // IconButton
+
 #include <QtCore/QTimer>
+#include <QtGui/QLineEdit>
+#include <QtGui/QTextEdit>
+#include <QtGui/QPlainTextEdit>
+#include <QtGui/QListWidgetItem>
 
 using namespace Core;
 
diff --git a/src/plugins/coreplugin/variablechooser.h b/src/plugins/coreplugin/variablechooser.h
index 07f19e723e7f96fa549e03d35aaec2ccee283e11..57e36e6b5388c02365630915e951257d45a17dd7 100644
--- a/src/plugins/coreplugin/variablechooser.h
+++ b/src/plugins/coreplugin/variablechooser.h
@@ -35,14 +35,19 @@
 
 #include "core_global.h"
 
-#include <utils/fancylineedit.h>
-
 #include <QtCore/QPointer>
 #include <QtGui/QWidget>
-#include <QtGui/QLineEdit>
-#include <QtGui/QTextEdit>
-#include <QtGui/QPlainTextEdit>
-#include <QtGui/QListWidgetItem>
+
+QT_BEGIN_NAMESPACE
+class QLineEdit;
+class QTextEdit;
+class QPlainTextEdit;
+class QListWidgetItem;
+QT_END_NAMESPACE
+
+namespace Utils {
+class IconButton;
+} // namespace Utils
 
 namespace Core {
 
@@ -79,6 +84,5 @@ private:
     QPointer<Utils::IconButton> m_iconButton;
 };
 
-
 } // namespace Core
 #endif // VARIABLECHOOSER_H
diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp
index 851b6fa16d1defa7d3d38729619f0de32bf199ed..a6c47e95983f17f8c010031d2aebf322cf7fe655 100644
--- a/src/plugins/qmljseditor/qmljseditor.cpp
+++ b/src/plugins/qmljseditor/qmljseditor.cpp
@@ -83,6 +83,7 @@
 #include <QtCore/QSignalMapper>
 #include <QtCore/QTimer>
 #include <QtCore/QScopedPointer>
+#include <QtCore/QTextCodec>
 
 #include <QtGui/QMenu>
 #include <QtGui/QComboBox>
diff --git a/src/plugins/texteditor/texteditorplugin.cpp b/src/plugins/texteditor/texteditorplugin.cpp
index b4388e7d03a65a4f970e90ca3c1e79aa7b1c6872..4e6564860e303e1e214643f969dfaa133e004fd5 100644
--- a/src/plugins/texteditor/texteditorplugin.cpp
+++ b/src/plugins/texteditor/texteditorplugin.cpp
@@ -55,7 +55,7 @@
 #include <coreplugin/actionmanager/command.h>
 #include <coreplugin/editormanager/editormanager.h>
 #include <coreplugin/uniqueidmanager.h>
-#include <coreplugin/externaltool.h>
+#include <coreplugin/externaltoolmanager.h>
 #include <extensionsystem/pluginmanager.h>
 #include <texteditor/texteditoractionhandler.h>
 #include <find/searchresultwindow.h>