[Qbs] Construction project.buildDirectory
Christian Kandeler
Christian.Kandeler at qt.io
Thu Dec 19 14:46:58 CET 2019
On Thu, 19 Dec 2019 16:35:22 +0300
Карелин Павел <hkarel at yandex.ru> wrote:
> My colleague decided to try QtCreator 4.11 (QBS 1.15), and faced a problem.
> At this project the QtCreator 4.11 issues a mistake:
>
> import qbs
> Project {
> minimumQbsVersion: "1.12.0"
>
> Probe {
> id: projectProbe
>
> readonly property string projectBuildDirectory:
> project.buildDirectory
> readonly property string projectSourceDirectory:
> project.sourceDirectory
>
> configure: {
> // ...
> }
> }
> }
Some code has been moved around to fix a different problem with Project-level probes, so this appears to be a side effect of that.
However, you can just leave off the "project.", and it will work both with 1.15 and 1.14.
Christian
More information about the Qbs
mailing list