diff --git a/src/plugins/projectexplorer/debugginghelper.cpp b/src/plugins/projectexplorer/debugginghelper.cpp
index a97125d705a653baeb8dab8159bd995c12b989e8..34ece5fc55d24b9bba34b107dfc042be8491de64 100644
--- a/src/plugins/projectexplorer/debugginghelper.cpp
+++ b/src/plugins/projectexplorer/debugginghelper.cpp
@@ -93,13 +93,6 @@ QString DebuggingHelperLibrary::qtInstallDataDir(const QString &qmakePath)
     return QString::null;
 }
 
-QString DebuggingHelperLibrary::qtDir(const QString &qmakePath)
-{
-    QDir dir = QFileInfo(qmakePath).absoluteDir();
-    dir.cdUp();
-    return dir.absolutePath();
-}
-
 // Debugging Helper Library
 
 static inline QString helperFilePath(const QString &directory)
diff --git a/src/plugins/projectexplorer/debugginghelper.h b/src/plugins/projectexplorer/debugginghelper.h
index 03b67037d0700dd2e7a1fced02c1f2730bb5cba5..bd09376eee266f2b633298aa9d52405a5d293036 100644
--- a/src/plugins/projectexplorer/debugginghelper.h
+++ b/src/plugins/projectexplorer/debugginghelper.h
@@ -66,7 +66,6 @@ public:
 private:
     static QStringList debuggingHelperLibraryDirectories(const QString &qtInstallData);
     static QString qtInstallDataDir(const QString &qmakePath);
-    static QString qtDir(const QString &qmakePath);
 };
 }