Lines 36-41
Link Here
|
36 |
#include <QProcessEnvironment> |
36 |
#include <QProcessEnvironment> |
37 |
#include <QString> |
37 |
#include <QString> |
38 |
#include <QCoreApplication> |
38 |
#include <QCoreApplication> |
|
|
39 |
#include <QLibraryInfo> |
39 |
|
40 |
|
40 |
class SystemEnvironment : public Utils::Environment |
41 |
class SystemEnvironment : public Utils::Environment |
41 |
{ |
42 |
{ |
Lines 278-284
QString Environment::searchInPath(const
Link Here
|
278 |
QStringList Environment::path() const |
279 |
QStringList Environment::path() const |
279 |
{ |
280 |
{ |
280 |
return m_values.value(QLatin1String("PATH")).split(HostOsInfo::pathListSeparator(), |
281 |
return m_values.value(QLatin1String("PATH")).split(HostOsInfo::pathListSeparator(), |
281 |
QString::SkipEmptyParts); |
282 |
QString::SkipEmptyParts).prepend(QLibraryInfo::location(QLibraryInfo::BinariesPath)); |
282 |
} |
283 |
} |
283 |
|
284 |
|
284 |
QString Environment::value(const QString &key) const |
285 |
QString Environment::value(const QString &key) const |