| --- qt-creator-opensource-src-4.0.0/src/plugins/debugger/debuggerplugin.cpp.orig 2015-12-13 23:13:54.758957800 +0000 |
| +++ qt-creator-opensource-src-4.0.0/src/plugins/debugger/debuggerplugin.cpp 2015-12-13 23:13:56.742161300 +0000 |
| @@ -1297,6 +1297,8 @@ |
| void DebuggerPluginPrivate::startAndDebugApplication() |
| { |
| DebuggerRunParameters rp; |
| + rp.inferior.environment = Utils::Environment::systemEnvironment(); |
| + rp.stubEnvironment = Utils::Environment::systemEnvironment(); |
| Kit *kit; |
| if (StartApplicationDialog::run(ICore::dialogParent(), &rp, &kit)) |
| createAndScheduleRun(rp, kit); |