[QBS] Help on rule usage

Christian Kandeler christian.kandeler at theqtcompany.com
Fri Sep 4 10:45:18 CEST 2015


On 09/03/2015 07:43 PM, olivier musse wrote:
>>> Product {
>>>         type:['dynamicLibrary','mylib']
>> I assume you really have an artifact with the tag "mylib"?
> I added it because for the rule I have tried as artifact fileTags both
> "myapp" and "mylib" so this is in my sample not useful
>>
>>>         name:'myLibrary'
>>> }
>>>
>>> Product {
>>>         type:['application','myapp']
>>>
>>>         Rule{
>>>            inputs:['dynamicLibrary']
>>>             inputsFromDependencies:['myLibrary']
>> This is the name of your library, not a file tag.
> You are right I was thinking it must be a library name and the
> associated filetags in inputs.
> I do no understand how to specify a filetags associated to the output of
> myLibrary (the generated dll file) ?
>> Also, I don't see a dependency on the library anywhere.
> Yes sorry I forgot to write it in the mail but of course there is a
> Depends{name:"myLibrary"} in my application product

Please provide a complete minimal project that exhibits the problem. 
Attach (or copy-paste) actual files, not approximations. Otherwise it's 
hard to find out where the problem lies exactly.


Christian



More information about the Qbs mailing list