[Qbs] Qtc+Qbs+git wroktree = cannot lock build graph

Christian Gagneraud chgans at gmail.com
Mon Dec 11 22:03:58 CET 2017

Hi there,

Not sure if it's a Qtc or a Qbs issue, but here is my problem:
I'm using git worktrees, which means i have the same project checked-out 
on different branches in different sibling directories, the main qbs 
files have the same name, and so by default, Qtc try to use the same 
build directory, luckily qbs refuse to go ahead (not sure if with qmake 
i'll get a warning about that).
Anyway, the solution is to edit the project's build settings.
It's OK, but it's a bit annoying over time. What about if Qtc would hash 
the path to the project file and use it (as a prefix) to name the 
default build folder?


More information about the Qbs mailing list