[QBS] Clean install directory

Christian Kandeler Christian.Kandeler at qt.io
Fri Sep 16 02:40:03 CEST 2016


St├ęphane Fabry wrote:

> I have some files installed by qbs this way, inside a group of file:
>   qbs.install: true
>   qbs.installDir: project.binInstall
> But if files are removed from the group later on, they remains installed, they are not cleaned.

Yes. The idea is that the installation directory is an "external location", as opposed to the build root, which "belongs" to qbs. Therefore, qbs will never remove files from the installation directory as part of normal operations. But you can purge it explicitly via the --clean-install-root option.


Christian


More information about the Qbs mailing list