[Qt-creator] RunConfiguration, RunControl and RunConfigurationAspect

Daniel Teske Daniel.Teske at theqtcompany.com
Fri Jun 12 15:05:49 CEST 2015

> I am trying to understand the various Run classes and what each is
> responsible for. I have stepped through their behavior with a debugger and
> am still struggling with how they might be able to help me.
> The problem that I am trying to solve involves writing a qt-creator plugin
> that provides a runconfiguration that returns a different executable string
> depending upon whether it is responding to a DebuggerRunControl or a
> "normal" RunControl. RunConfiguration does not have access to the mode that
> contains that information, whereas a RunControl or RunControlFactory knows
> about ProjectExplorer::RunMode.

You probably want to implement your own RunControlFactory that knows how to 
convert your RunConfiguration to a RunControl.


More information about the Qt-creator mailing list