diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index 72de7617234..8dd7668ce34 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -330,7 +330,7 @@ void DebuggerRunParameters::setStartMode(DebuggerStartMode startMode) void DebuggerRunParameters::addSolibSearchDir(const QString &str) { QString path = str; - path.replace("%{sysroot}", sysRoot.toString()); + path.replace("%{sysroot}", sysRoot.toUrlishString()); m_solibSearchPath.append(FilePath::fromString(path)); }