forked from qt-creator/qt-creator
QmlProfiler: Fix missing environment for profiling Quick UI
Change-Id: I006802132db3a2d970f028306def16f953fabf53 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -108,6 +108,8 @@ RunControl *QmlProfilerRunControlFactory::create(RunConfiguration *runConfigurat
|
|||||||
|
|
||||||
LocalQmlProfilerRunner::Configuration conf;
|
LocalQmlProfilerRunner::Configuration conf;
|
||||||
conf.debuggee = runnable;
|
conf.debuggee = runnable;
|
||||||
|
if (EnvironmentAspect *environment = runConfiguration->extraAspect<EnvironmentAspect>())
|
||||||
|
conf.debuggee.environment = environment->environment();
|
||||||
conf.socket = connection.analyzerSocket;
|
conf.socket = connection.analyzerSocket;
|
||||||
conf.port = connection.analyzerPort;
|
conf.port = connection.analyzerPort;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user