On 12.11.2013 17:24, Mateusz Loskot wrote: > Could anyone help me to navigate through the code/execution flow > of a project manager plugin to find out where exactly the additional > project-specific item like "Make" is added to the "Clean Steps"? > > IOW, when/where Qt Creator generates that list for the button?
"Make" and the others in that menu are derived from BuildStep. They are created by one of the IBuildStepFactory in the object pool. The code setting up the list is found here: BuildStepListWidget::updateAddBuildStepMenu() in src/plugins/projectexplorer/buildstepspage.cpp line 296. > The problem is that I'm getting my project-specific "Make" step > listed by the "Add Build Step" button, but only "Build Steps" section. > > I can't figure out why it's missing from the "Clean Steps" section. Because your factory does not return any availableCreationIds when passing in the clean buildstep list? They can be distinguished by their id. I hope this helps! Best Regards, Tobias -- Tobias Hunger, Senior Software Engineer - Digia, Qt Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin. USt-IdNr: DE 286 306 868 Registergericht: Amtsgericht Charlottenburg, HRB 144331 B _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
