diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index 372ea133f4813224a36d203d65d02f1c22bd95fc..decc1c0dfaf46bdd80adf46204770e0965d351c9 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -33,7 +33,7 @@
 #include "debuggermanager.h"
 #include "stackframe.h"
 
-#include "imports.h" // TextEditor::BaseTextMark
+#include <texteditor/basetextmark.h>
 
 #include <QtCore/QDebug>
 #include <QtCore/QTextStream>
diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro
index e68de03846e7db0a298f5ba411f9cf3afa661ab2..d9e161749a31421953e2b4d5b405663424840d31 100644
--- a/src/plugins/debugger/debugger.pro
+++ b/src/plugins/debugger/debugger.pro
@@ -29,7 +29,6 @@ HEADERS += breakhandler.h \
     debuggerstringutils.h \
     watchutils.h \
     idebuggerengine.h \
-    imports.h \
     moduleshandler.h \
     moduleswindow.h \
     outputcollector.h \
diff --git a/src/plugins/debugger/debuggeroutputwindow.cpp b/src/plugins/debugger/debuggeroutputwindow.cpp
index 4a84cd2b149a4768748ecc157b8aed1b3b66c39b..3957d05137c9e35e5e0004cc31ec29eee839d671 100644
--- a/src/plugins/debugger/debuggeroutputwindow.cpp
+++ b/src/plugins/debugger/debuggeroutputwindow.cpp
@@ -45,18 +45,13 @@
 #include <QtGui/QSyntaxHighlighter>
 #include <QtGui/QTextBlock>
 
-#ifndef GDBDEBUGGERLEAN
-
 #include <aggregation/aggregate.h>
 #include <coreplugin/findplaceholder.h>
 #include <find/basetextfind.h>
 
-using namespace Find;
-
-#endif // GDBDEBUGGERLEAN
-
 using namespace Debugger;
 using namespace Debugger::Internal;
+using namespace Find;
 
 static QChar charForChannel(int channel)
 {
@@ -317,12 +312,9 @@ DebuggerOutputWindow::DebuggerOutputWindow(QWidget *parent)
     layout->setMargin(0);
     layout->setSpacing(0);
     layout->addWidget(m_splitter);
-#ifndef GDBDEBUGGERLEAN
     layout->addWidget(new Core::FindToolBarPlaceHolder(this));
-#endif
     setLayout(layout);
 
-#ifndef GDBDEBUGGERLEAN
     Aggregation::Aggregate *aggregate = new Aggregation::Aggregate;
     aggregate->add(m_combinedText);
     aggregate->add(new BaseTextFind(m_combinedText));
@@ -330,7 +322,6 @@ DebuggerOutputWindow::DebuggerOutputWindow(QWidget *parent)
     aggregate = new Aggregation::Aggregate;
     aggregate->add(m_inputText);
     aggregate->add(new BaseTextFind(m_inputText));
-#endif
 
     connect(m_inputText, SIGNAL(statusMessageRequested(QString,int)),
        this, SIGNAL(statusMessageRequested(QString,int)));
diff --git a/src/plugins/debugger/imports.h b/src/plugins/debugger/imports.h
deleted file mode 100644
index 726c57e6f1865987953259e395d4a6ac4b2e7ddc..0000000000000000000000000000000000000000
--- a/src/plugins/debugger/imports.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/**************************************************************************
-**
-** This file is part of Qt Creator
-**
-** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-**
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** Commercial Usage
-**
-** Licensees holding valid Qt Commercial licenses may use this file in
-** accordance with the Qt Commercial License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Nokia.
-**
-** GNU Lesser General Public License Usage
-**
-** Alternatively, 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.
-**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at http://qt.nokia.com/contact.
-**
-**************************************************************************/
-
-#ifndef DEBUGGER_IMPORTS_H
-#define DEBUGGER_IMPORTS_H
-
-// FIXME: Plan is to remove this file. It's needed to get "harmless"
-// replacements for GH internals in the standalone version
-
-#ifndef GDBDEBUGGERLEAN
-
-#include <texteditor/basetextmark.h>
-
-#else
-
-#include "lean.h"
-
-#endif
-
-#endif // DEBUGGER_IMPORTS_H