QmlProfiler: Fix missing environment for profiling Quick UI

Change-Id: I006802132db3a2d970f028306def16f953fabf53
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Christian Stenger
2016-01-28 10:43:30 +01:00
committed by hjk
parent 2745ecea20
commit 76ef8e3c75

View File

@@ -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;