diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2016-01-28 10:43:30 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-01-28 09:45:35 +0000 |
commit | 76ef8e3c75a16c997a506f94d5ffc7aa360ef0db (patch) | |
tree | cd60ea715102b3c85e1b8b9d8e7d2d6eb7b468d8 /src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp | |
parent | 2745ecea20c9a001372847e6ca4cb235b6a9f7f3 (diff) |
QmlProfiler: Fix missing environment for profiling Quick UI
Change-Id: I006802132db3a2d970f028306def16f953fabf53
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<EnvironmentAspect>()) + conf.debuggee.environment = environment->environment(); conf.socket = connection.analyzerSocket; conf.port = connection.analyzerPort; |