[Qt-creator] Using shadow builds when building from the command-line

Robert Caldecott robert.caldecott at gmail.com
Wed Jul 14 23:20:08 CEST 2010


Perfect!  Easier than I thought.  Thanks Andre.

On 14 July 2010 21:20, Andre Poenitz <
andre.poenitz at mathematik.tu-chemnitz.de> wrote:

> On Wed, Jul 14, 2010 at 09:03:58PM +0100, Robert Caldecott wrote:
> > Now that Qt Creator enables shadow builds by default I've got used to
> them
> > and prefer it to cluttering up my source folders with object files, etc.
> >
> > However, I often want to build from the command-line, but can't figure
> out
> > how to make shadow builds work.  My command-line build script is pretty
> > simple:
> >
> > qmake -r
> > mingw32-make release
> >
> > How can I force shadow builds?  Is a qmake switch required?
>
> Assuming $src is the directory containing your sources include the
> top-level *.pro file:
>
>    cd $src
>    mkdir ../build
>    cd ../build
>    qmake -r $src
>    mingw32-make release
>
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100714/0045f294/attachment.html 


More information about the Qt-creator-old mailing list