diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 07904b8efa3acd29d74d47ff61c27e6a9685921f..4f7e0b1a897d750d3270e60f598056aa8ffcc726 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -913,8 +913,9 @@ void DebuggerPlugin::readSettings()
 #if defined(Q_OS_WIN32)
     defaultCommand.append(".exe");
 #endif
-    QString defaultScript = ICore::instance()->resourcePath() +
-        QLatin1String("/gdb/qt4macros");
+    //QString defaultScript = ICore::instance()->resourcePath() +
+    //    QLatin1String("/gdb/qt4macros");
+    QString defaultScript;
 
     s->beginGroup(QLatin1String("DebugMode"));
     QByteArray ba = s->value("State", QByteArray()).toByteArray();