[QBS] Do not called custom Rule from custom Module

Christian Kandeler christian.kandeler at digia.com
Fri Apr 4 16:59:08 CEST 2014


On 04/04/2014 04:43 PM, Denis Shienkov wrote:
[ ... ]
> and then in my project file I to do:
>
> import qbs.base 1.0
>
>
> DynamicLibrary  {
>      name:  "foo"
>          ...
>          ...
>      Depends  {  name:  "wpp"  }
>          ...
>          ...
>      files:  [
>          "bar.cpp",
>      ]
> }
>
>
> But in my case this does not work, the command do not called.. What I to
> do wrong?

You haven't told qbs that the artifact created by the rule in the wpp 
module is required to build your product. Add this to your module item:
     additionalProductTypes: "tmh"


Christian



More information about the Qbs mailing list