[Qt-creator] Changing make path depending on Kit or Qt Version

Tobias Hunger tobias.hunger at gmail.com
Thu Apr 10 09:09:28 CEST 2014


On Apr 9, 2014 7:48 PM, "Tomasz Olszak" <olszak.tomasz at gmail.com> wrote:
>
> 2014-04-09 19:36 GMT+02:00 Bartek TaczaƂa <bartek.taczala at gmail.com>:
> > On Wednesday 09 of April 2014 15:25:18 Tomasz Olszak wrote:
> >> Hi,
> >> I would like to change make build step (make path) in qmake project
> >> depending on Qt Version or Kit.
> >> Is there any simple way to do that besides creating extra build
> >> configuration factory like QmakeBuildConfigurationFactory?

Creator will prepend the toolchain and Qt does to PATH, so putting your
make in those directories might already be enough.

> Anyway I've found out that I can overload
> ProjectExplorer::GccToolChain::makeCommand to change the make path. It
> is more neat than creating new build configuration factory only for
> that purpose.

That is considered to be a recommendation only. BuildSteps are free to
ignore this.

Best Regards,
Tobias _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140410/76a55199/attachment.html>


More information about the Qt-creator mailing list