[Qt-creator] how to change build step from 'make' into 'make install'

shiroki shiroki at cuteqt.com
Fri May 20 13:28:25 CEST 2011


Can't you just configure it in Project->Build Settings->Build
Steps->Make->Details->Make argument?
Try to add "install" into "Make argument".

Does it do what you want?

Jing

On Fri, May 20, 2011 at 11:29 AM, Theo de Vries <t.j.a.devries at gmail.com> wrote:
> I use QtCreator with CMake-based projects, which typically have multiple
> targets. In the Build Settings page, I can nicely select which targets I
> want to build.
> The problem I have is that I would like to change the base command into
> "make install" instead of "make". The reason is that in that case, libraries
> get installed immediately after being built successfully, before the next
> target is built.
> I have tried to accomplish this by creating a custom command, however, I
> have not succeeded in doing so. For one, you don't have the nice target
> selection option.
> Patching QtCreator is what I tried next. It seems that I should make my own
> BuildStep. However, I don't see how this is to be done. Can someone give me
> some directions? Is there an example somewhere how to do this?
> Regards, Theo.
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator
>
>



More information about the Qt-creator-old mailing list