diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 916e43b90c06e63411958fead0eac1732e5a1353..a904d64e528b46f50d9031cb436524a047d83e98 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -4554,7 +4554,7 @@ void GdbEngine::handleInferiorPrepared()
         postCommand(_("set substitute-path %1 %2")
                     .arg(qtBuildPath).arg(qtInstallPath));
 #elif defined(Q_OS_UNIX) && !defined (Q_OS_MAC)
-        qtBuildPath = _("/var/tmp/qt-x11-src-4.6.1");
+        qtBuildPath = _("/var/tmp/qt-src");
         postCommand(_("set substitute-path %1 %2")
                     .arg(qtBuildPath).arg(qtInstallPath));
 #endif