forked from qt-creator/qt-creator
ProjectExplorer: Fix build with Qt 5.9
‘qEnvironmentVariable’ was not declared in this scope. Change-Id: Ibd5922c07a360410e006315459b35b5c45f87a9f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -318,7 +318,7 @@ static QStringList environmentTemplatesPaths()
|
||||
{
|
||||
QStringList paths;
|
||||
|
||||
QString envTempPath = qEnvironmentVariable("QTCREATOR_TEMPLATES_PATH");
|
||||
QString envTempPath = QString::fromLocal8Bit(qgetenv("QTCREATOR_TEMPLATES_PATH"));
|
||||
|
||||
if (!envTempPath.isEmpty()) {
|
||||
for (const QString &path : envTempPath
|
||||
|
||||
Reference in New Issue
Block a user