diff --git a/src/plugins/qmlprojectmanager/qmlproject.cpp b/src/plugins/qmlprojectmanager/qmlproject.cpp
index e581d5bc987a94a1557b39539a78f05f89f16384..22f621296fb9732f4db39154f843311130264fef 100644
--- a/src/plugins/qmlprojectmanager/qmlproject.cpp
+++ b/src/plugins/qmlprojectmanager/qmlproject.cpp
@@ -414,8 +414,7 @@ QStringList QmlApplicationRunConfiguration::commandLineArguments() const
 
 ProjectExplorer::Environment QmlApplicationRunConfiguration::environment() const
 {
-    ProjectExplorer::Environment env;
-    return env;
+    return ProjectExplorer::Environment::systemEnvironment();
 }
 
 QString QmlApplicationRunConfiguration::dumperLibrary() const