Re: [Qbs] How to use texttemplate module?

2020-09-09 Thread Alberto Mardegan
On 09/09/20 11:25, Christian Kandeler wrote: > But it has to be, or at least appear as a dependency of the product type > somewhere. > Otherwise there's no path from the source artifact to the product type. > A detailed explanation is here: > https://doc.qt.io/qbs/qml-qbslanguageitems-rule.html#ru

Re: [Qbs] How to use texttemplate module?

2020-09-09 Thread Christian Kandeler
On Wed, 9 Sep 2020 00:24:36 +0300 Alberto Mardegan wrote: > Of course, in my project the product type is not "text" But it has to be, or at least appear as a dependency of the product type somewhere. Otherwise there's no path from the source artifact to the product type. A detailed explanation

Re: [Qbs] How to use texttemplate module?

2020-09-09 Thread Jochen Ulrich
Hi Alberto > But if I modify that file and change the Product type from "text" to > "application", then the rule is no longer run. Yeah, this is how the rules in Qbs work: they are only executed if there is a Product or another Rule which "requests" them to be run. Meaning: There must be a Prod