[QBS] Do not called custom Rule from custom Module

Denis Shienkov denis.shienkov at gmail.com
Mon Apr 7 11:34:25 CEST 2014


Christian,

yes, of course, please see a simple project from attachment

Denis


2014-04-07 12:21 GMT+04:00 Christian Kandeler <christian.kandeler at digia.com>
:

> 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
> >
>
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140407/39dfaae6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qbs-rule-test.zip
Type: application/zip
Size: 2703 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140407/39dfaae6/attachment.zip>


More information about the Qbs mailing list