[Qt-creator] QtCreator 3.1.1 .pro.shared is not available to overwrite shadow build settings in .pro.user file

Hunger Tobias Tobias.Hunger at digia.com
Wed Jul 2 11:35:21 CEST 2014


Hi Markus,

On 02.07.2014 10:40, Liebe Markus (RtP2/TEF72) wrote:
> I am trying to use a .pro.shared file to overwrite some settings in the
> .pro.user file.
>
> In this case I want to explicitly disable shadow build. But no matter
> what I put in the .pro.shared file,

All the build settings are addressed via a kit Id. Those are specific to 
one Qt Creator instance (provided you did not use the SDKtool to create 
those kits from an installer.

Any other instance of Qt Creator will just ignore any settings for kits 
it does not know.

So basically Creator will happily ignore any build/run settings in a 
.shared file.

> QtCreator always comes up with the shadow build settings enabled.

You can actually disable that via Tools>Options>Build & Run>General.

There is a Default build directory field there. Change that to a single 
. (or %{CurrentProject:Path}) and you will end up with shadow builds 
right in your source directory;-)

> It seems to me that creator just ignores these settings in the
> .pro.shared file.

Yes it does ignore build settings. That is a known shortcoming which is 
unfortunately not simple to fix.

> I have already created a bug report on this issue [1]

Thanks:-)

Best Regards,
Tobias




More information about the Qt-creator mailing list