On 06/29/2010 12:07 AM, ext Leo Spalteholz wrote:
> On Mon, Jun 28, 2010 at 11:56 AM, Danny Price
> <[email protected]>  wrote:
>> Agreed but this is hardly a new problem. Some of us have been complaining 
>> about pro.user files since before v1.0 :)
>
> Right, but it seems the .user files are taking on more and more
> functionality and making this worse.
> Now we have this build directory field in the projects tab, which
> clutters my file system with top level directories even though I
> already set up my pro file just the way I like it (with OBJECTS_DIR,
> UI_DIR, RCC_DIR, MOC_DIR = ./build and so forth).

Qt Creator simply mimics the way you use qmake in this regard. You've 
always had the option of doing a shadow build in a different directory 
by simply doing something like:

$ mkdir build
$ cd build
$ qmake /path/to/myprofile.pro

I frequently use this method to test builds with different Qt versions.

That Qt Creator allows you to set the directory in which to do the build 
should not be a surprise, nor should it be surprising that this is 
stored in a .user file, since its up to each developer.

Note that this is quite different from setting OBJECTS_DIR, UI_DIR, etc. 
so there is no duplication here. The main purpose of the shadow builds 
is to build against different Qt configurations. That it also keeps your 
source directory clean is only a pleasant side-effect.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to