From 76ef8e3c75a16c997a506f94d5ffc7aa360ef0db Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 28 Jan 2016 10:43:30 +0100 Subject: [PATCH] QmlProfiler: Fix missing environment for profiling Quick UI Change-Id: I006802132db3a2d970f028306def16f953fabf53 Reviewed-by: hjk --- src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp b/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp index 885e0f4d898..847f9a5a13b 100644 --- a/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp @@ -108,6 +108,8 @@ RunControl *QmlProfilerRunControlFactory::create(RunConfiguration *runConfigurat LocalQmlProfilerRunner::Configuration conf; conf.debuggee = runnable; + if (EnvironmentAspect *environment = runConfiguration->extraAspect()) + conf.debuggee.environment = environment->environment(); conf.socket = connection.analyzerSocket; conf.port = connection.analyzerPort;