[Qt-creator] Get active step during build

Eike Ziller Eike.Ziller at qt.io
Mon Oct 23 11:55:44 CEST 2017


> On 23. Oct 2017, at 10:38, Davide Coppola <vivaladav at gmail.com> wrote:
> 
> Sorry, never used Gerrit or contributed to Qt before... do you mean a pull request?

Gerrit uses a different concept. You do not create pull/merge requests, you upload a patch (by pushing to a special gerrit branch), that gets reviewed, and finally cherry-picked into the branch you requested.
You find an introduction to the workflow here: https://wiki.qt.io/Gerrit_Introduction
And some information about how to set yourself up here: https://wiki.qt.io/Setting_up_Gerrit

> Am I supposed to create a bug report/feature request in https://bugreports.qt.io too?

Not if you upload a patch :)

Br, Eike

> 
> Thank you
>> 
> On 23 October 2017 at 09:03, Eike Ziller <Eike.Ziller at qt.io> wrote:
> 
> > 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
> 
> 
> 
> 
> -- 
> Davide Coppola
> 
> email:	vivaladav at gmail.com
> website:	http://www.davidecoppola.com
> blog:	http://blog.davidecoppola.com

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