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
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to