diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2023-10-09 10:50:44 +0300 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2023-10-09 12:22:24 +0000 |
commit | a2463d3921e530f39afbf00c1d5df46e88ce7e06 (patch) | |
tree | 46d02d386fad9d1b1dd8a39d10d79b2d37fcd91b | |
parent | 871e4c29b3e1d6611dc7c71c4bb01950ebf9874d (diff) |
capnproto: make outputDir mutable
Fixes: QBS-1760
Change-Id: Ia58ce88c7981ec35a132e783a4faa2a4cdda3328
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | doc/reference/modules/capnprotocpp-module.qdoc | 4 | ||||
-rw-r--r-- | share/qbs/modules/capnproto/capnprotobase.qbs | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/reference/modules/capnprotocpp-module.qdoc b/doc/reference/modules/capnprotocpp-module.qdoc index c3c8660c9..7635edd9e 100644 --- a/doc/reference/modules/capnprotocpp-module.qdoc +++ b/doc/reference/modules/capnprotocpp-module.qdoc @@ -104,12 +104,10 @@ /*! \qmlproperty string capnproto.cpp::outputDir - \readonly The directory where the \c capnpc compiler generated files are placed. - The value of this property is automatically set by \QBS and cannot be - changed by the user. + \defaultvalue \c product.buildDirectory + "/capnp" */ /*! diff --git a/share/qbs/modules/capnproto/capnprotobase.qbs b/share/qbs/modules/capnproto/capnprotobase.qbs index e84d39433..56d542770 100644 --- a/share/qbs/modules/capnproto/capnprotobase.qbs +++ b/share/qbs/modules/capnproto/capnprotobase.qbs @@ -40,7 +40,7 @@ Module { property pathList importPaths: [] - readonly property string outputDir: product.buildDirectory + "/capnp" + property string outputDir: product.buildDirectory + "/capnp" Probes.BinaryProbe { id: compilerProbe |