[Qt-creator] Disable shadow build permanently for a project.

Frédéric Marchal frederic.marchal at wowtechnology.com
Tue Sep 24 12:08:14 CEST 2013


> 24.09.2013, 12:52, "Frédéric Marchal" <frederic.marchal at wowtechnology.com>:
> >>  Is there a config that can be added to the .pro file or something that
> >>  can be uploaded to git which would automatically disable shadow
> >> building on fresh clones of a project? I have a project with data files
> >> in the run folder and a version tool which runs on each compile to
> >> generate a version header. Both of these things break when using shadow
> >> builds. In cases like this it would be nice to be able to disable
> >> shadow build on a project level. I don't think I am the only Qt Creator
> >> user that would like this. It would eliminate a bit of instruction from
> >> our wiki as well.
> > 
> > You are not the only one to wish for that feature.
> > 
> > I heavily rely on text files that are stored in the repository but must
> > be accessible to the application.
> 
> You can copy them to build directory, or make a symbolic link.

I still use Windows XP, no symbolic link :-(

Duplicating the files implies to keep them in sync when they are modified.

It is much less troublesome to disable the shadow building once QtCreator 
configured the project.

Saddly, QtCreator enforces shadow building when opening a new project. The 
developer must know/remember to disable it in the project configuration tab 
just after opening the new project.

Frederic



More information about the Qt-creator mailing list