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

Function systemQmakeExecutable

plugins/qmakemanager/qmakeconfig.cpp:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19namespace {
20QString systemQmakeExecutable()
21{
22 for (const auto& candidate : {QStringLiteral("qmake"), QStringLiteral("qmake6"), QStringLiteral("qmake-qt6"),
23 QStringLiteral("qmake-qt5"), QStringLiteral("qmake-qt4")}) {
24 auto executable = QStandardPaths::findExecutable(candidate);
25 if (!executable.isEmpty()) {
26 return executable;
27 }
28 }
29 return {};
30}
31} // unnamed namespace
32
33QString QMakeConfig::CONFIG_GROUP()

Callers 1

qmakeExecutableMethod · 0.85

Calls 2

findExecutableFunction · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected