MCPcopy Create free account
hub / github.com/KDE/kdevelop / findExecutable

Method findExecutable

plugins/craft/craftruntime.cpp:130–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130QString CraftRuntime::findExecutable(const QString& executableName) const
131{
132 auto runtimePaths = QString::fromLocal8Bit(getenv(QByteArrayLiteral("PATH"))).split(QLatin1Char(':'));
133
134 return QStandardPaths::findExecutable(executableName, runtimePaths);
135}
136
137Path CraftRuntime::pathInHost(const Path& runtimePath) const
138{

Callers 1

defaultCompilerMethod · 0.45

Calls 2

findExecutableFunction · 0.50
splitMethod · 0.45

Tested by

no test coverage detected