[Qt-creator] Get active step during build

Eike Ziller Eike.Ziller at qt.io
Mon Oct 23 09:03:56 CEST 2017


> On 22. Oct 2017, at 21:26, Davide Coppola <vivaladav at gmail.com> wrote:
> 
> Hi,
> 
> I am developing a plugin for QtCreator which needs to check the current build step during a build.
> 
> I tried to connect to BuildManager::buildStateChanged, which has a Project as parameter, but I can't find any way to get that information from it.
> 
> The active build step is kept in BuildManagerPrivate and set in BuildManager::nextStep, but apparently there's no way to access it.
> 
> Does anyone know if there's a way to accomplish this?

I’d guess that nobody so far needed this, and therefore there would be no API to do it.
Feel free to upload a suggestion for retrieving the “next” step from the build manager to https://codereview.qt-project.org .

Br, Eike

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list