Commit 2774c9c0 authored by dt's avatar dt
Browse files

Also search custom executables in the working directory

parent 14eb1f66
......@@ -300,6 +300,8 @@ QString CustomExecutableRunConfiguration::executable() const
if (QDir::isRelativePath(m_executable)) {
Environment env = project()->activeBuildConfiguration()->environment();
exec = env.searchInPath(m_executable);
if (exec.isEmpty())
exec = QDir::cleanPath(workingDirectory() + "/" + m_executable);
} else {
exec = m_executable;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment