[Qbs] How to use texttemplate module?

Alberto Mardegan mardy at users.sourceforge.net
Tue Sep 8 23:24:36 CEST 2020

Hi all,
  I'm having some trouble using the texttemplate module, because I
cannot get its rule to execute.

If I run the test file from
then everything works.

But if I modify that file and change the Product type from "text" to
"application", then the rule is no longer run.

I also tried to add

    Group {
        fileTagsFilter: ["text"]
        qbs.install: true

to the QBS file, but still the texttemplate rule is not executed. Of
course, in my project the product type is not "text" (I have a
QtGuiApplication), so how can I tell QBS that it should run all the
rules which produce a "text" artifact?


http://www.mardy.it - Geek in un lingua international

More information about the Qbs mailing list