diff --git a/src/plugins/valgrind/memchecktool.cpp b/src/plugins/valgrind/memchecktool.cpp index 03489f26c82..2d7a98457dc 100644 --- a/src/plugins/valgrind/memchecktool.cpp +++ b/src/plugins/valgrind/memchecktool.cpp @@ -1512,7 +1512,7 @@ void HeobData::processFinished() debugger->setStartMode(AttachExternal); debugger->setCloseMode(DetachAtClose); debugger->setContinueAfterAttach(true); - debugger->setInferiorExecutable(Utils::imageName(m_data[1])); + debugger->setInferiorExecutable(FilePath::fromString(Utils::imageName(m_data[1]))); connect(m_runControl, &RunControl::started, this, &HeobData::debugStarted); connect(m_runControl, &RunControl::stopped, this, &HeobData::debugStopped);