[QBS] Do not called custom Rule from custom Module

Christian Kandeler christian.kandeler at digia.com
Mon Apr 7 10:21:29 CEST 2014


On 04/05/2014 11:02 AM, Denis Shienkov wrote:
> this does not help, still nothing...

Can you put/paste your project somewhere? Possibly stripped down if it's 
too big, but still self-contained. I could take a closer look then.


Christian

> 04.04.2014 18:59, Christian Kandeler пишет:
>> 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
>> _______________________________________________
>> QBS mailing list
>> QBS at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qbs
>




More information about the Qbs mailing list