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

Method findPython

plugins/craft/craftruntime.cpp:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69QString CraftRuntime::findPython()
70{
71 // Craft requires Python 3.6+, not any "python3", but
72 // - If the user set up Craft already, there is a high probability that
73 // "python3" is a correct one
74 // - We are running only CraftSetupHelper.py, not the whole Craft, so
75 // the 3.6+ requirement might be not relevant for this case.
76 // So just search for "python3" and hope for the best.
77 return QStandardPaths::findExecutable(QStringLiteral("python3"));
78}
79
80void CraftRuntime::setEnabled(bool enabled)
81{

Callers

nothing calls this directly

Calls 1

findExecutableFunction · 0.50

Tested by

no test coverage detected